diff options
author | epoch <epoch@hack.thebackupbox.net> | 2020-04-18 07:41:13 +0000 |
---|---|---|
committer | epoch <epoch@hack.thebackupbox.net> | 2020-04-18 07:41:13 +0000 |
commit | 94152f565c1fec8395ebbdac055c39a1df5915ee (patch) | |
tree | 54bf05ae48a6548fcb91966e9debd0319a5ce4a0 /bin/hackvr_uri | |
parent | 6894e26fc16f9cac90ef5ea6b547618f70b0edc9 (diff) | |
parent | 5417ee3aacf64d3b3b164ba2a529daacb101ebb9 (diff) | |
download | hackvr-94152f565c1fec8395ebbdac055c39a1df5915ee.tar.gz hackvr-94152f565c1fec8395ebbdac055c39a1df5915ee.zip |
Merge branch 'master' of /var/git/hackvr
Diffstat (limited to 'bin/hackvr_uri')
-rwxr-xr-x | bin/hackvr_uri | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/hackvr_uri b/bin/hackvr_uri index 7907d9b..19c0f37 100755 --- a/bin/hackvr_uri +++ b/bin/hackvr_uri @@ -1,6 +1,8 @@ #!/bin/bash #this is a version of hackvr that will attempt to launch URIs that your user actions on. -hackvr \ +set -o pipefail +tee --output-error=exit /dev/stderr | hackvr \ + | grep --line-buffered -v '^#' \ | tee \ >(sed -un "s/$USER *action *<\([^ ]*\)>/\1/p" \ | stdbuf -o0 tr '\n' '\0' \ |