29 May
2007
29 May
'07
8:39 a.m.
Chris Mikkelson wrote:
Otherwise, the most portable would be to avoid sed -i and do:
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. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog