sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit cf0f3c807849ffbe5bf0157d9b41583269f1a0b5
parent 4ff2cf5476d3dbe8237d1ceafb65e4dc3010297c
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri Jan  1 17:40:33 +0100

ed: Don't show '!' in exec with -s

POSIX indicates that this '!' is a diagnosis
that must not be printed when -s is supplied.

Diffstat:
ed.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ed.c b/ed.c @@ -871,7 +871,8 @@ execsh(void) if (repl) puts(cmd); system(cmd); - puts("!"); + if (optdiag) + puts("!"); } static void