Home | History | Annotate | Download | only in sed
History log of /src/usr.bin/sed/defs.h
RevisionDateAuthorComments
 1.14  31-May-2022  andvar fix various typos in comments, documentation and messages.
 1.13  15-May-2020  christos sed(1): Don't force a newline on last line, if input stream doesn't have one

While here, change how we check if the current line is the last one.
Before, we just checked if there were more files after the current one.
Now, we check the actual content of those files: they files may not have
a line at all. This matches the definition of the "last line" by the
Open Group.

The new behavior is closer to GNU sed.

From FreeBSD (9dd857db3dc558dc61dc8674d204ebc83cac0739), requested by mrg@
 1.12  06-Jun-2014  wiz Renumber so that 3 follows 2.
 1.11  06-Jun-2014  christos Merge our changes.
 1.10  19-Feb-2010  tnn branches: 1.10.12; 1.10.22;
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
 1.9  20-Nov-2004  grant no trailing comma at end of enum.
 1.8  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.7  09-Jan-1997  tls RCS ID police
 1.6  09-Mar-1995  mycroft Compile group commands differently, using a stack rather than calling the
parser recursively. Don't throw away commands after an end group.
 1.5  03-Feb-1994  cgd RCS id's
 1.4  03-Feb-1994  cgd update from Diomidis Spinellis <dspin@leon.nrcps.ariadne-t.gr>
 1.3  01-Aug-1993  mycroft Add RCS identifiers.
 1.2  16-Jun-1993  alm fixed regex initialization
 1.1  13-Apr-1993  alm branches: 1.1.1;
added Berkeley sed with mods to use GNU regex
 1.1.1.2  06-Jun-2014  christos import today's FreeBSD sed.
 1.1.1.1  06-Jun-1993  mrg 4.4BSD-Lite2
 1.10.22.1  10-Aug-2014  tls Rebase.
 1.10.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.

RSS XML Feed