mirror of
https://github.com/chubin/cheat.sh.git
synced 2024-12-02 16:04:13 +03:00
new parsing was removing '-'. negative numbers now supported again
This commit is contained in:
parent
8814488e26
commit
ca9d5bc177
@ -104,7 +104,7 @@ oeis() (
|
||||
# Search unknown sequence
|
||||
else
|
||||
# Build URL
|
||||
URL+="/search?q=signed%3A$(echo $@ | tr -sc '[:digit:]' ',')"
|
||||
URL+="/search?q=signed%3A$(echo $@ | tr -sc '[:digit:]-' ',')"
|
||||
curl $URL 2>/dev/null > $DOC
|
||||
# Sequence IDs
|
||||
grep -o '=id:.*&' $DOC \
|
||||
|
Loading…
Reference in New Issue
Block a user