Commit Graph

31 Commits

Author SHA1 Message Date
alm b1dcef2867 echo hello | ./sed 'sl[l]lxl'
historically outputs:
hexlo
1994-04-17 04:19:27 +00:00
mycroft f8e2732fe8 Fix bug with D leaving junk at end of pattern space. 1994-03-24 15:55:01 +00:00
cgd 6cc95e4fee DTRT with empty RE matches. or at least, do something better. fix off
to bostic and dspin.
1994-03-01 06:32:54 +00:00
andrew 14f1242b37 Restore the traditional behaviour of the "n" command. 1994-02-28 07:00:00 +00:00
cgd 054d17fafb patch from Diomidis Spinellis to fix 'infinite' loop 1994-02-09 00:06:07 +00:00
cgd 8a8b69552f RCS id's 1994-02-03 23:44:40 +00:00
cgd c9f13cff75 update from Diomidis Spinellis <dspin@leon.nrcps.ariadne-t.gr> 1994-02-03 23:32:35 +00:00
mycroft 9be21c6baa Clean up deleted files. 1994-02-03 23:32:29 +00:00
cgd 5beaa48900 update from Diomidis Spinellis <dspin@leon.nrcps.ariadne-t.gr> 1994-02-03 23:32:10 +00:00
cgd 02254e0c37 rename fgetline() and sharpen axe for bostic... 1994-01-04 05:16:44 +00:00
cgd 76553b5de8 update for fgetline 1993-12-22 07:38:51 +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
jtc 5ce3d664fb Use new POSIX.2 compatible regex routines in C library instead of -lgnuregex. 1993-11-11 01:29:52 +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
mycroft 3c52920854 Put back RCS identifier. 1993-08-14 20:00:00 +00:00
alm 5ef7fe2b6a Was testing against rm_so instead of rm_eo. So now:
$ echo aabb | sed 's/\(.*\)\1/(\1)/g'
(a)(b)(c)
1993-08-14 03:06:53 +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
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 75ff3a90bd Add RCS identifiers. 1993-07-30 23:49:23 +00:00
alm fe8b331915 added missing parens in buffer allocation (caused seg violation) 1993-07-02 09:50:36 +00:00
alm bd8e434d6d fixed regex initialization 1993-06-16 07:41:14 +00:00
mrg 152053b06a 4.4BSD-Lite2 1993-06-06 23:13:45 +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
mycroft 2d0fac2cee Clean up deleted files. 1993-05-20 10:20:41 +00:00
alm f50fa96eef fixed HS initialization bug; swapping HS (`x') before a hold (`h')
command set the pattern space to NULL
1993-05-08 10:08:44 +00:00
alm bb106b2b49 added Berkeley sed with mods to use GNU regex 1993-04-13 23:49:12 +00:00
alm 5594a0292f moved Makefile -> Makefile.bsd
(cvs add ../Makefile doesn't work otherwise)
1993-04-13 23:48:12 +00:00
mycroft 6c5fe93efb Clean up deleted files. 1993-04-13 23:21:46 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00