Commit Graph

19 Commits

Author SHA1 Message Date
ache
d7cdb27330 Make 'y' command 8bit clean
PR: 6458
1998-04-29 21:58:36 +00:00
charnier
aba1106b42 Remove local redefinition for err(). Add usage(). 1997-08-11 07:21:08 +00:00
steve
9c6b7d527a Show the real revision date and not the date that this
manpage is being viewed.
1997-06-23 04:03:49 +00:00
imp
cd84ece5fd compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
mpp
31b1f2fc62 Add a missing '\' to some text.
Obtained from: NetBSD-bugs mailing list PR# 3321
1997-03-12 16:05:41 +00:00
wosch
8d26f92d4a fix C programmer's bug number 12.2
submitted by: bruce
1996-11-17 02:16:34 +00:00
joerg
4a85eb547f Fix the C programmer's bug #1: EOF is of type int', not char'.
Strong 2.2 candidate.

Submitted by:	wosch
1996-11-17 00:22:54 +00:00
ache
2f037f351f Make it at least semi-worked 1996-08-11 18:08:53 +00:00
ache
ec926d5821 Localize it
8bit cleanup
1996-08-11 17:46:35 +00:00
bde
1d0354c05e Yet^2 another fix for the line continuation bug.
The fundamental problem with the original code is that it accesses
p[-2] which is one before the beginning of the input buffer for
empty lines.  rev.1.6 just moved the problem from failures when
p[-2] happens to be '\\' to failures when it happens to be '\0'.
rev.1.5 was confused about the trailing newline and other things.

I went back to rev.1.5 and fixed it.  The result is the same as
Keith Bostic's final version in PR 1356 except it loses more
gracefully for excessively long input lines.
1996-07-17 12:18:51 +00:00
dg
bb7b81b423 Yet another fix for the line continuation bug in sed. Keith's patch
introduced a new bug. This fix appears to work correctly. Fixes PR#1350.

Submitted by:	mark@linus.demon.co.uk (Mark Valentine)
1996-06-26 05:54:32 +00:00
dg
c716122513 Fix from Keith Bostic <bostic@bsdi.com> for bug in sed dealing with
continuation lines.

Submitted by:	Keith Bostic via Kirk McKusick
1996-06-19 11:20:07 +00:00
jkh
77f81d6520 Merge various fixes from NetBSD. This will allow the WordPerfect for
SCO installation to run all the way through (some POSIX fixes).
1995-08-16 05:56:44 +00:00
rgrimes
79e59e9123 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
joerg
1a40d97c1d Sed dumps core when linked with some coalescing malloc because it
doesn't initialize malloced structure.

Submitted by:	vode@hut.fi
1995-04-05 22:55:27 +00:00
rgrimes
37c5f27278 Fix spelling error (scipt -> script).
Submitted by:	<jhawk@MIT.EDU>
Obtained from:	NetBSD-bugs mailling list
1995-02-23 17:46:35 +00:00
jmz
b4f0cb5993 Correct a bug in the P function: according to 7th edition UNIX (tm), the
newline must be part of the pattern space i.e. `echo a|sed -e P' must print
a
a
and not
aa
This is consistent with gnu sed, SunOS, Ultrix (and probably others!)
1995-02-06 00:14:50 +00:00
ats
5151cf56b6 Submitted by: Philippe Charnier
Fixed a little typo: lable -> label.
1994-12-01 22:19:02 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00