diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-03 21:53:21 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-03 21:53:21 +0200 |
commit | 77d7e8335578231351a25580bb4497f84e0bc219 (patch) | |
tree | bc36e86378046170c22dcd58bd41134c6388c6c9 | |
parent | fd1550d0d4d36d6351ba8c24e7193d780875f1fa (diff) | |
download | lrep-77d7e8335578231351a25580bb4497f84e0bc219.tar.gz lrep-77d7e8335578231351a25580bb4497f84e0bc219.tar.xz lrep-77d7e8335578231351a25580bb4497f84e0bc219.zip |
silent for !!!
-rwxr-xr-x | lrep | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lrep b/lrep index 3668746..399d858 100755 --- a/lrep +++ b/lrep @@ -71,7 +71,11 @@ while line = gets kill pid output = input = pid = nil next if zap - print ind(`#{$3}`) + + cmd = $3 + silent = cmd.gsub!(/>-$/, '') + o = `#{cmd}` + print ind(o) unless silent else if $1.empty? ps = nil |