|
17
Sep
Written by: ame235
This one returns a random article from Wikipedia FR. user@computer:$ curl -s "http://fr.wikipedia.org/w/index.php?title=`curl -s -L "http://fr.wikipedia.org/wiki/Sp%C3%A9cial:Page_au_hasard" | grep "<title>" | sed -e :a -e 's/<[^>]*>//g;/</N;//ba' | sed 's/ - Wikipédia//g' | sed -e 's/^[ \t]*//' | sed 's/ /_/g'`&printable=yes" | grep "<p>" | sed -e :a -e 's/<[^>]*>//g;/</N;//ba'
http://fr.wikipedia.org/wiki/Sp%C3%A9cial:Page_au_hasard > is a random page redirector from wikipedia Again it’s not perfect. feel free to make it better and post it back here |
If you like my work, please consider a donation ;) |
Category: Popularized tech.
Tags: article, curl, desktop, Geektool, grep, html, location, random, sed, wikipedia
Tags: article, curl, desktop, Geektool, grep, html, location, random, sed, wikipedia
WP Comments: Forum: 0 Comments + |
SOCIAL |

