ed

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

commit b442fd4df7588d5441d9efb9aa334d6edb192cdc
parent 08c9ab33d3636ed57b7ddf9255440c0774e24276
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 10 Dec 2015 21:58:10 +0100

Add semicolon address abbreviature

Semicolon is equivalent to .,$

Diffstat:
Med.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/ed.c b/ed.c @@ -441,6 +441,11 @@ getlst() line2 = lastln; nlines = lastln; return; + } else if (c == ';') { + line1 = curln; + line2 = lastln; + nlines = lastln - curln + 1; + return; } back(c); line2 = curln;