Commit Graph

14 Commits

Author SHA1 Message Date
mycroft 35e8bf367a Compile group commands differently, using a stack rather than calling the
parser recursively.  Don't throw away commands after an end group.
1995-03-09 11:19:24 +00:00
mycroft b01b8d8a74 Fix thinko in previous commit. 1994-11-15 19:03:25 +00:00
mycroft 49ebbb080e Fix core dump on end of group reported by John Kohl, in a different way. 1994-11-09 19:30:32 +00:00
alm b1dcef2867 echo hello | ./sed 'sl[l]lxl'
historically outputs:
hexlo
1994-04-17 04:19:27 +00:00
cgd 8a8b69552f RCS id's 1994-02-03 23:44:40 +00:00
cgd 5beaa48900 update from Diomidis Spinellis <dspin@leon.nrcps.ariadne-t.gr> 1994-02-03 23:32:10 +00:00
mycroft 09dc5c690d Further patch by Havard Eidnes <Havard.Eidnes@runit.sintef.no> to avoid access
to uninitialized memory.
1993-12-05 21:43:57 +00:00
mycroft 824c494570 From: Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>
Patch to prevent core dumping when linked dynamically.
1993-11-20 22:24:17 +00:00
andrew 1b0bd76d80 make with -DHISTORIC_PRACTICE to obtain the common EOF behavior of the "n"
command.  Don't be fussy about requiring spaces after the "w" command
though.
1993-11-04 01:36:21 +00:00
alm b6b50355eb removed GNU_REGEX directive
catch infinite substitution for the following cases:
echo hi | sed 's/$/a/g' (prints hia)
echo hi | sed 's/h*/x/g' (terminates with error: infinite substitution)
1993-08-13 02:26:38 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
alm bd8e434d6d fixed regex initialization 1993-06-16 07:41:14 +00:00
alm 9030436006 Fixed some regex bugs in sed
Added a regresssion test, compile.c.test
1993-05-27 01:14:14 +00:00
alm bb106b2b49 added Berkeley sed with mods to use GNU regex 1993-04-13 23:49:12 +00:00