From: Stephen Shirley (diamond at domain skynet.ie)
Date: Wed 25 Sep 2002 - 13:40:03 IST
On Wed, Sep 25, 2002 at 01:32:59PM +0100, Niall Brady wrote:
> sed on FreeBSD would let you do inplace editing, but GNU sed doesn't
> in my recollection ;-) Hence Stephen's suggestion with sed...
Ah. Didn't know that about the fbsd sed. Handy, if a little dangerous in
the wrong hands.
> Ye should probably make a complete copy of your website, and try it out
> on that first, just in case you clobber stuff badly :-)
The advantage of doing "copy file"->"modify file, writing back to
original file" is that you end up with the file you want being changed,
and the old version being backed up in case you screwed up, with the
minimum of file copies/renames etc. (Not directed at you niall, just a
-- High salt diets are bad for you - but only outside marriage.
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:19:03 GMT