sed && all that
aland at deployingradius.com
Tue May 29 14:39:22 CEST 2007
Chris Mikkelson wrote:
> Otherwise, the most portable would be to avoid sed -i and
> sed $RE < file > file.new && mv file.new 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.
http://deployingradius.com - The web site of the book
http://deployingradius.com/blog/ - The blog
More information about the Freeradius-Devel