[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inplace - s shell script for you
From: |
Jim Meyering |
Subject: |
Re: inplace - s shell script for you |
Date: |
Fri, 14 May 2004 20:32:34 +0200 |
Victor Porton <address@hidden> wrote:
> I think you should include this my script in GNU Core Utilities or an other
> GNU package. Don't allow it to be lost as it is a very handy thing.
...
> echo "Performs inplace editing of a file."
...
> echo 'Example: inplace -v file.txt "sed -e s/John/Paul/g \$IN > \$OUT"'
Thanks, but I think Perl is just fine for this sort of task:
perl -pi.bak -e s/John/Paul/g file.txt