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/
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/
No comments yet.
RSS feed for comments on this post. TrackBack URL
Powered by WordPress