Echo the latest commands from commandlinefu on the console

wget -O - http://www.commandlinefu.com/commands/browse/rss 2>/dev/null | awk '/\s*<title/ {z=match($0, /CDATA\[([^\]]*)\]/, b);print b[1]} /\s*<description/ {c=match($0, /code>(.*)<\/code>/, d);print d[1]} ' | grep -v "^$"
A Quick variation to the latest commands list with the new-lines skipped. This is faster to read.

2
By: nikunj
2010-06-29 16:22:03

1 Alternatives + Submit Alt

  • Self-referential use of wget. Show Sample Output


    13
    wget -O - http://www.commandlinefu.com/commands/browse/rss 2>/dev/null | awk '/\s*<title/ {z=match($0, /CDATA\[([^\]]*)\]/, b);print b[1]} /\s*<description/ {c=match($0, /code>(.*)<\/code>/, d);print d[1]"\n"} '
    root · 2009-01-30 19:16:50 9

What Others Think

On ubuntu karmic, you need to install GNU awk (sudo aptitude install gawk) for this to work correctly
gelendir · 632 weeks and 1 day ago
It is imperative that we read blog post very carefully. I am already done it and find that this post is really amazing. Zwembad aanleggen
seomind · 31 weeks and 1 day ago
I have been searching to find a comfort or effective procedure to complete this process and I think this is the most suitable way to do it effectively. Zonnepanelen Sint-Genesius-Rode
seomind · 31 weeks and 1 day ago
I just couldn't leave your website before telling you that I truly enjoyed the top quality info you present to your visitors? Will be back again frequently to check up on new posts. Zwembad polyester
seomind · 31 weeks and 1 day ago
I really enjoyed reading this post, big fan. Keep up the good work andplease tell me when can you publish more articles or where can I read more on the subject? Zonnepanelen Sint-Pieters-Leeuw
seomind · 31 weeks and 1 day ago
First You got a great blog .I will be interested in more similar topics. i see you got really very useful topics, i will be always checking your blog thanks. Zwembad inox
seomind · 31 weeks and 1 day ago
Wonderful blog post. This is absolute magic from you! I have never seen a more wonderful post than this one. You've really made my day today with this. I hope you keep this up! Zonnepanelen Steenokkerzeel
seomind · 31 weeks and 1 day ago
I don’t think many of websites provide this type of information. Monoblok zwembad
seomind · 31 weeks and 1 day ago
Thank you for your post, I look for such article along time, today i find it finally. this post give me lots of advise it is very useful for me. Zonnepanelen Ternat
seomind · 31 weeks and 1 day ago
Your music is amazing. You have some very talented artists. I wish you the best of success. Zwembaden keramisch
seomind · 31 weeks and 1 day ago
Thanks for sharing this information. I really like your blog post very much. You have really shared a informative and interesting blog post with people.. Zonnepanelen Tervuren
seomind · 31 weeks and 1 day ago
I have recently started a blog, the info you provide on this site has helped me greatly. Thanks for all of your time & work Zwembad vinylester
seomind · 31 weeks and 1 day ago
Really impressive post. I read it whole and going to share it with my social circules. I enjoyed your article and planning to rewrite it on my own blog. Zonnepanelen Tielt-Winge
seomind · 31 weeks and 1 day ago
Hi there, I found your blog via Google while searching for such kinda informative post and your post looks very interesting for me Aanleg zwembad
seomind · 31 weeks and 1 day ago
You have done a amazing job with you website Zonnepanelen Tienen
seomind · 31 weeks and 1 day ago
This is an awesome motivating article.I am practically satisfied with your great work.You put truly extremely supportive data. Keep it up. Continue blogging. Hoping to perusing your next post LPW zwembad
seomind · 31 weeks and 1 day ago
I was surfing net and fortunately came across this site and found very interesting stuff here. Its really fun to read. I enjoyed a lot. Thanks for sharing this wonderful information. Zonnepanelen Vilvoorde
seomind · 31 weeks and 1 day ago
Your music is amazing. You have some very talented artists. I wish you the best of success. Monoblock zwembaden
seomind · 31 weeks and 1 day ago
so happy to find good place to many here in the post, the writing is just great, thanks for the post. Zonnepanelen Wemmel
seomind · 31 weeks and 1 day ago
Thanks for sharing this information. I really like your blog post very much. You have really shared a informative and interesting blog post with people.. Zwembad plaatsen
seomind · 31 weeks and 1 day ago
I really enjoy reading and also appreciate your work. Zonnepanelen Tremelo
seomind · 31 weeks and 1 day ago
All the contents you mentioned in post is too good and can be very useful. I will keep it in mind, thanks for sharing the information keep updating, looking forward for more posts.Thanks Zwembad tuin
seomind · 31 weeks and 1 day ago
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well.. Zonnepanelen Wezembeek-Oppem
seomind · 31 weeks and 1 day ago
Great survey. I'm sure you're getting a great response. Zwembad laten plaatsen
seomind · 31 weeks and 1 day ago
I’m excited to uncover this page. I need to to thank you for ones time for this particularly fantastic read!! I definitely really liked every part of it and i also have you saved to fav to look at new information in your site. Zonnepanelen Zaventem
seomind · 31 weeks and 1 day ago
I finally found great post here.I will get back here. I just added your blog to my bookmark sites. thanks.Quality posts is the crucial to invite the visitors to visit the web page, that's what this web page is providing. Zwembad bouwen
seomind · 31 weeks and 1 day ago
You completely match our expectation and the variety of our information. Zonnepanelen Zemst
seomind · 31 weeks and 1 day ago
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own Blog Engine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it. Laserontharing
seomind · 31 weeks and 1 day ago
I recently came across your article and have been reading along. I want to express my admiration of your writing skill and ability to make readers read from the beginning to the end. I would like to read newer posts and to share my thoughts with you. Zonnepanelen Zoutleeuw
seomind · 31 weeks and 1 day ago
I must say, I thought this was a pretty interesting read when it comes to this topic. Liked the material. . . . . Permanente ontharing
seomind · 31 weeks and 1 day 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: