On Mon, May 28, 2007 at 04:40:51PM +0100, A.L.M.Buxey@lboro.ac.uk wrote:
Hi,
Sorry... doing massive commits, and occasionally forgetting things.
may be caught..but latest CVS does want to 'make install' fails due to the
sed -i .bak '/s/^freeradius-devel ....blahblah line
(in src/include/Makefile )
a quick removal of the .bak part fixes this.
Without the ".bak", FreeBSD's (version 5 and higher) sed will choke on this. Does your sed work with: sed -i.bak .... (i.e., no space between -i and its argument? If so, that'll work for both of us.) Otherwise, the most portable would be to avoid sed -i and do: sed $RE < file > file.new && mv file.new file or use "perl -i.bak -pe $RE" -- Chris Mikkelson | For example, I could be a sentient PERL script. That cmikk@qwest.net | pretty much assumes that someone brilliant enough to | write me was also stupid enough to program in PERL. | Not a likely explanation. -- Terry Lambert