simple ed
git clone git://git.2f30.org/ed.git
Log | Files | Refs

commit 08c9ab33d3636ed57b7ddf9255440c0774e24276
parent e272e3d3ba0df6ed75120cd93ff2ad645d493980
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu Dec 10 21:30:24 +0100

Remove call to chkprint() in 'w' and 'W'

We can skip all the blanks and take the rest
as file name. We don't care if there are more
of 1 space.

ed.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/ed.c b/ed.c @@ -834,7 +834,6 @@ repeat: case 'w': trunc = 1; case 'W': - chkprint(0); deflines(nextln(0), lastln); dowrite(getfname(), trunc); break;