[CentOS] script

Tue Sep 30 23:12:09 UTC 2008
Barry L. Kline <blkline at attglobal.net>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

MHR wrote:

> Second, that won't work.  Sed does not perform on files in place - its
> output is sent to stdout unless it is redirected, and you can't
> redirect it back to the original file.  To do something this way,
> you'd need a script that replaced the input file and used 'sed' to
> generate the new one (and then the script would have to rename it).

Au contraire:

- From the sed man page:

       -i[SUFFIX], --in-place[=SUFFIX]

              edit files in place (makes backup if extension supplied)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFI4rJJCFu3bIiwtTARArCgAJ9Ov/hR5rZJZxn3t2vqqJYwcCHztQCgldo+
aqaYmuuDKk/eWwTR/8f5qPg=
=IkKM
-----END PGP SIGNATURE-----