remove comment '#' in conf files.

grep -v ^# file.conf | grep -v ^$ > new_file.conf

-7
2010-04-22 02:28:34

1 Alternatives + Submit Alt

What Others Think

For what reason should act now in case you need space or pit divider security, by then you talk about it with other. Desire that individual is viably deal with your anxiety and uncover to every one of you about portland printers. Here is something more which is about the security. Desire you check everything and that is huge.
Dominick · 84 weeks and 1 day ago
Exactly when work is loosened up I give you photos for the social occasion part. Not a stupid work since I have to show a technique for west linn aesthetics which infers that you have to take energy to come right now. I have to make something best for this family.
Dominick · 84 weeks and 1 day ago
Precisely when work is released up I give you photographs for the social event part. Not an idiotic work since I need to show a procedure for http://barbarakite.com/">public speaking coach which surmises that you need to take vitality to come at this moment. I need to make something best for this family.
Dominick · 84 weeks and 1 day ago
Wow, it's an amazing technique about submitting photographs. And i will surely act on it on my project too. You can check en este sitio to get casino games easily at low price. Because this is a very simple and convenient way for all of us. Thanks for sharing it with us. And keep sharing this kind of content.
Lere1953 · 83 weeks and 3 days ago
I will be trying this on one of my projects. Thanks for this! West Jordan Tree Service
OwenThatcher · 8 weeks and 4 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: