diff options
author | epoch <epoch@thebackupbox.net> | 2020-04-20 03:33:21 -0500 |
---|---|---|
committer | epoch <epoch@thebackupbox.net> | 2020-04-20 03:33:21 -0500 |
commit | 8ec0b3da94b3bbc18140bdea22488d51676d2634 (patch) | |
tree | 1aeb045d712767b117bea412e65348897eefa0e5 /uristart.conf.example | |
parent | 3e23d5631b7664de5a78aaaac211bff357152c00 (diff) | |
download | uritools-8ec0b3da94b3bbc18140bdea22488d51676d2634.tar.gz uritools-8ec0b3da94b3bbc18140bdea22488d51676d2634.zip |
more of the breaking-change. code to get the line moved to external program so it can be rewritten easier. copy_start_nevermind.sh uses it now. cleaned up Makefile styling.
Diffstat (limited to 'uristart.conf.example')
-rw-r--r-- | uristart.conf.example | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/uristart.conf.example b/uristart.conf.example index 27fab79..53fc08b 100644 --- a/uristart.conf.example +++ b/uristart.conf.example @@ -1,8 +1,8 @@ ### uristart will escape only single-quotes in the url parts. ### so place them inside single-quotes when creating handler pipelines. or else! ### (if you're given a bad link someone might be able to run shell commands) -finger: printf "%%s\r\n" '%p' | ncat '%d' 79 | tr -d '\r' | xmessage -file - -whois: whois "$(printf '%%s\\\\n' '%d' | sed 's/^..*$/-h/')" '%d' '%p' | xmessage -file - -irc: x-terminal-emulator -e irssi -c '%d' -p '%P' -http: firefox --new-tab '%U' -DEFAULT: xdg-open '%U' +s finger: printf "%%s\r\n" '%p' | ncat '%d' 79 | tr -d '\r' | xmessage -file - +s whois: whois "$(printf '%%s\\\\n' '%d' | sed 's/^..*$/-h/')" '%d' '%p' | xmessage -file - +s irc: x-terminal-emulator -e irssi -c '%d' -p '%P' +s http: firefox --new-tab '%U' +s DEFAULT: xdg-open '%U' |