about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xlrep6
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