4 ms·
I'd do it almost the same but without the variable. Note: the long shebang is for using on Termux, PC users should change it to something like #!/use/bin/env sh
by mrlemke 5y ago
I'd do it almost the same but without the variable. Note: the long shebang is for using on Termux, PC users should change it to something like #!/use/bin/env sh.
#!/data/data/com.termux/files/use/bin/env sh
curl -G -H "Accept: text/plain" \
--url "https://dontbeevil.rip/search" \
--data-urlenconde "q=$*"
- harryvederci 5y agoDidn't know about "$*", thanks! Edit: typo in your version: "urlenconde"