[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-devel
Subject:    sed && all that
From:       Alan Dekok <aland () deployingradius ! com>
Date:       2007-05-29 12:39:22
Message-ID: 465C1EFA.8050509 () deployingradius ! com
[Download RAW message or body]

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
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic