[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] new version hook script examples
From: |
Stig Brautaset |
Subject: |
Re: [Gnu-arch-users] new version hook script examples |
Date: |
Wed, 10 Nov 2004 07:54:32 +0000 |
User-agent: |
Mutt/1.5.6+20040907i |
On Wed, Nov 10, 2004 at 02:29:06PM +1100, Zenaan Harkness wrote:
> BTW, does anyone know/ use an alternative to perl -i for in-place
> munging?
sed -i with a recent-ish gnu sed.
> I guess I should learn how to chain multiple lines such as the
> following into one, since firing up perl for each line seems rather
> heavy weight.
Just use the -e flag several times...
perl -e "..." -e "..."
Stig