sed && all that

Alan Dekok aland at
Tue May 29 14:39:22 CEST 2007

Chris Mikkelson wrote:
> Otherwise, the most portable would be to avoid sed -i and
> do:
> 	sed $RE < file > && mv file

  Since the files are being installed in another directory anyways,
there's no need for the ".bak".  They can just be modified as they're
being written to the installation directory.

  I also turned it into a loop, rather than installing each header file
manually.  This allows the 'sed' script to be run on every file, which
now needs it.

  Alan DeKok.
--       - The web site of the book - The blog

More information about the Freeradius-Devel mailing list