shithub: werc

Download patch

ref: 6a612bffc5ae7f38456628e399e1ccc679645a6d
parent: ebebd4107273b27a4dc188a57bbb3534b57e64fa
author: uriel <uriel@engel.se.cat-v.org>
date: Sun Jan 25 10:42:56 EST 2009

Add -s, print status when a command sets it.

--- a/lib/_debug.tpl
+++ b/lib/_debug.tpl
@@ -11,7 +11,7 @@
 fn evl {
     # Buffering is probably messing this up:
     #rc -c 'flag x +;{'^$post_arg_command'} |[2] awk ''{print ">> "$0}'''
-    rc -c 'flag x +;'^$post_arg_command
+    rc -c 'flag s +; flag x +;'^$post_arg_command
 }
     if(! ~ $#post_arg_command 0 && ! ~ $#post_arg_command '') {
         echo '<hr /><pre>'