---
ed.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ed.c b/ed.c
index 8a0604e..b661ac5 100644
--- a/ed.c
+++ b/ed.c
@@ -642,7 +642,8 @@ dowrite(const char *fname, int trunc)
strcpy(savfname, fname);
modflag = 0;
curln = line;
- printf("%zu\n", bytecount);
+ if (optdiag)
+ printf("%zu\n", bytecount);
}
static void
--
2.25.1- [hackers] [sbase][PATCH] Fix 'w' command not respecting ... Andrea Calligaris
- Re: [hackers] [sbase][PATCH] Fix 'w' command not re... Michael Forney
