Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2007 20:57:14 +0530
From:      "Joseph Koshy" <joseph.koshy@gmail.com>
To:        "Yar Tikhiy" <yar@comp.chem.msu.su>
Cc:        hackers@freebsd.org
Subject:   Re: sed -i
Message-ID:  <84dead720703260827q29ed7f26hd79dde461fe50d9b@mail.gmail.com>
In-Reply-To: <20070326135106.GG60831@comp.chem.msu.su>
References:  <20070326135106.GG60831@comp.chem.msu.su>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84dead720703260827q29ed7f26hd79dde461fe50d9b>