[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: non-convergent file edit?
From: |
Jamie Wilkinson |
Subject: |
Re: non-convergent file edit? |
Date: |
Wed, 17 Mar 2004 18:31:51 +1100 |
User-agent: |
Mutt/1.5.5.1+cvs20040105i |
This one time, at band camp, rader@ginseng.hep.wisc.edu wrote:
> editfiles:
> { /etc/motd
> ReplaceOnce "year is [[:digit:]]{4}" With "year is $(year)" }
editfiles:
{ /etc/motd
LocateLineMatching "year is [[:digit:]]{4}"
ReplaceLineWith "year is $(year)
}
If your script is convergent it will only happen once anyway.
--
jaq@spacepants.org http://spacepants.org/jaq.gpg
- Re: non-convergent file edit?, (continued)
Re: non-convergent file edit?, Brendan Strejcek, 2004/03/18
Re: non-convergent file edit?, rader, 2004/03/16
Re: non-convergent file edit?,
Jamie Wilkinson <=