[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: Sat, 25 Sep 2004 18:47:31 +0100
User-agent: Mutt/1.5.6i

On Sat, Sep 25, 2004 at 12:26:54PM +1000, Zenaan Harkness wrote:

I'm surprised if this works as you (seem to) expect. I worry that the
redirection will nuke the content of the file before it is opened by
sed. Either use (relatively) recent gnu sed with the -i flag or
something like this:

sed -e "s/$VERSION_SED_STRING/$RELEASE_DATE/" > , && \
  mv ,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]