Now don't have to use quotes
Unless it's longer than 9 words
This commit is contained in:
committed by
GitHub
parent
a26af481f9
commit
d3e5d50ed5
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
QUERY=$(echo $1 | sed "s/ /+/g")
|
QUERY=$(echo $1$2$3$4$5$6$7$8$9 | sed "s/ /+/g")
|
||||||
|
|
||||||
SEARCH=$(curl -s https://www.syair.info/search?q=${QUERY} \
|
SEARCH=$(curl -s https://www.syair.info/search?q=${QUERY} \
|
||||||
| pup 'a.title json{}')
|
| pup 'a.title json{}')
|
||||||
|
|||||||
Reference in New Issue
Block a user