---

Bash Script To Access Wikipedia

[ Thanks to Mike
Golvach
for this link. ]

“This script gets its content from Wikipedia.com and
accepts a variable number of arguments. The only real caveat, when
executing the program, would be to be sure to put any query with
“special” characters in double quotes (like apostrophes, etc).
Also, you’ll note that this script includes a “pager” variable
(which we’ve set to /usr/bin/more) since the output you get back
will most definitely be looooooong. You can edit that variable to
set it to your favorite pager very simply”


Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis