If you want to remove all empty lines from a config file, you can use sed on unix system. Use with the regular expression:
sed ‚/^$/d/‘ config-file > new-file
Source:
http://www.cornerstonemag.com/sed/
This entry was posted on Samstag, August 5th, 2006 at 05:53 and is filed under Tips / Hints. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.