OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [patch] sed(1) - edit files in-place

From: Hannah Schroeter (hannahschlund.de)
Date: Mon Oct 03 2005 - 14:35:10 CDT


Hello!

On Mon, Oct 03, 2005 at 03:22:20PM -0400, Garance A Drosihn wrote:
>At 6:17 PM +0000 10/3/05, Christian Weisgerber wrote:
>>Joerg Sonnenberger <joergbritannica.bec.de> wrote:

>> > Let me add two comments about this specific feature. The first is
>> > that it is very handy for patching third party source code, since
>> > it saves the hassle of reverting to ed or having to copy the files
>> > first.

>>In the ports tree we just use perl -i.

>In FreeBSD-land, this feature was added to 'sed' just so we could
>remove one dependency on perl. If you do not need perl for anything
>else, then it's a rather large package to require just so you can do
>'-i' edits.

This is OpenBSD and has perl in base, anyway.

Kind regards,

Hannah.