tnn
0846a7629f
Merge the following revisions from OpenBSD to let sed(1) handle
...
arbitrarily long lines (closes our PR bin/42261).
openbsd/usr.bin/sed/extern.h 1.5
openbsd/usr.bin/sed/main.c 1.13-1.15
openbsd/usr.bin/sed/misc.c 1.8
openbsd/usr.bin/sed/compile.c 1.25-1.28
openbsd/usr.bin/sed/defs.h 1.4
2010-02-19 16:35:27 +00:00
lukem
d27a41bf3e
Fix WARNS=4 issues (-Wcast-qual -Wsign-compare)
2009-04-13 07:29:55 +00:00
perry
5a047c798a
Add a -r flag that is an alias for -E, for compatibility with gnu sed.
2008-09-16 13:32:04 +00:00
lukem
98e5374ccb
Remove the \n and tabs from the __COPYRIGHT() strings.
...
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
gdamore
d9ac053afa
Make TOOL_SED, to allow using our own sed in cases where the host's version
...
is busted in some way.
The TOOL_SED doesn't use TIOCGWINSIZE, and has some changes to include
nbtool_config.h in a cross build environment.
Combined with some other changes (not yet committed), this allows cross
compiling m68k code on Solaris 10/amd64.
2006-06-18 05:16:41 +00:00
wiz
b8c5588d79
Usage: Options before arguments; add -E. From Kouichirou Hiratsuka in PR 26255.
2004-07-13 12:11:06 +00:00
grant
ba2a3df7f5
call setprogname(), replace a 'sed' with getprogname().
2003-10-16 12:11:12 +00:00
agc
89aaa1bb64
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
wiz
3c4c9d2b57
Remove #if __STDC__. De-__P() and ANSIfy.
2002-06-14 00:41:42 +00:00
wiz
12102d9f6d
Fix format string in usage. bin/16869 by Julio Merino.
2002-05-17 17:27:12 +00:00
atatat
c25d406046
Add a -E flag to ed(1) and sed(1) so that they can use extended
...
regular expressions instead of just basic regular expressions.
2002-01-23 19:07:33 +00:00
lukem
2237cf10d6
WARNSify, fix .Nm usage, deprecate register, getopt returns -1 not EOF
1997-10-19 23:05:11 +00:00
tls
9d225a1783
RCS ID police
1997-01-09 20:18:21 +00:00
mark
2754bf6ea9
Use an integer instead of a char with getc() and ungetc() in mf_fgets()
...
so that it works with compilers that default to unsigned chars
Note: getc() and ungetc() are prototyped to use ints rather than
chars.
1996-05-08 21:36:05 +00:00
jtc
94f49c37a9
Fixed typo in usage string.
1995-02-23 17:25:23 +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
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
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
alm
bb106b2b49
added Berkeley sed with mods to use GNU regex
1993-04-13 23:49:12 +00:00