uncomment the lines where the word DEBUG is found

sed '/^#.*DEBUG.*/ s/^#//' $FILE

9
By: svg
2009-07-30 09:30:17

1 Alternatives + Submit Alt

What Others Think

Come and consider who is better. On the off chance that you infer structure, by then you can without a great deal of a stretch show portland printers on the pages which shows you concerning the whole division which is uncommon ever. You can check and offer all the material and a brief timeframe later you can without a lot of a stretch consider what is worthwhile for them.
Dominick · 10 weeks and 6 days ago
How angela's needing to ring the movements in Rufford ? In what capacity may she do it I in like manner just not think about it's west linn aesthetics so for this mean I have something which is more for her. She is still there and keeping things under control for the ring that is amazingly critical for her.
Dominick · 10 weeks and 6 days ago
Europe football shaken and mixed you find in the photograph. Why this occur there that entire I show you in the http://barbarakite.com/">public speaking coach which give you best for your piece creating which is notice some work which is specific consistently.
Dominick · 10 weeks and 6 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: