sed -i

Joseph Koshy joseph.koshy at gmail.com
Mon Mar 26 15:53:53 UTC 2007


> Recently noticed that our sed(1) differs from its GNU
> analog in that in -i mode it considers all files as a
> single sequence of lines while the latter treats each file
> independently.  The in-line mode isn't in POSIX, so it isn't
> really clear which way is correct.

Aren't sed's addresses required to be cumulative across its
input files?

http://www.opengroup.org/onlinepubs/009695399/utilities/sed.html

-- 
FreeBSD Volunteer,     http://people.freebsd.org/~jkoshy


More information about the freebsd-hackers mailing list