Date: Wed, 3 Jul 2002 07:38:27 -0700 (PDT) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/sed extern.h main.c process.c Message-ID: <200207031438.g63EcSRu094600@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
tjr 2002/07/03 07:38:27 PDT
Modified files:
usr.bin/sed extern.h main.c process.c
Log:
Avoid checking whether each line is the last line of the file when we don't
need to know. Instead, check when we are trying to match a "$" address.
This does not change the way sed processes regular files, but makes it behave
more sensibly when used interactively.
PR: 40101
MFC after: 2 weeks
Revision Changes Path
1.10 +1 -1 src/usr.bin/sed/extern.h
1.26 +27 -23 src/usr.bin/sed/main.c
1.25 +1 -1 src/usr.bin/sed/process.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207031438.g63EcSRu094600>
