diff options
Diffstat (limited to 'examples/search.sh')
-rwxr-xr-x | examples/search.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/search.sh b/examples/search.sh new file mode 100755 index 0000000..ab4cca2 --- /dev/null +++ b/examples/search.sh @@ -0,0 +1,6 @@ +#!/bin/sh -e + +BROWSER=${BROWSER:-w3m} +URL="https://html.duckduckgo.com/html/?q=" + +$BROWSER "${URL}$(urlenc "$@")" |