[ale] sed

Jamey Owens vindir at comcast.net
Thu May 17 22:05:08 EDT 2007


Nice Jim, thanks for the heads up.  Looks like I'm too accustomed to stuffy 
old boxes.

JO

----- Original Message ----- 
From: "Jim Popovitch" <yahoo at jimpop.com>
To: ale at ale.org
To: "Atlanta Linux Enthusiasts" <ale at ale.org>
Sent: Thursday, May 17, 2007 9:51 PM
Subject: Re: [ale] sed


> On Thu, 2007-05-17 at 21:44 -0400, Jamey Owens wrote:
>> One note of caution.  It can be pretty dangerous to try and use the same
>> file for input and output.  Lots of shells will leave you with a totally
>> empty file using the previous sed command with input & output being 
>> equal.
>
> most recent versions of sed support the -i param which allows for
> inplace (same file) editing/changes.   man sed. ;-)
>
> -Jim P.
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale 




More information about the Ale mailing list