On Wed, May 05, 2004 at 05:34:05PM +0100, P at draigBrady.com wrote:
> Many times I've wasted a couple of minutes
> looking for the error corresponding to an
> errno returned from a program. So instead
> I spent 5 mins writing this shell script.
shell. feh. :)
> Example usage:
>> #show all errnos
> #find error 101
> strerror 101
> #find all NET related errors
> strerror | grep NET
all in a 162 byte perl script with two ?: ops and a map call.
kevin, who wrote it by shaking his keys next to a modem...
kevin at ie.suberic.net ~ "you're either with us or against us." --dubya
iraq: vietnam again? ~ in that simplistic world-view progressives and
a new lbj selected - ~ liberals are "us" while bush and bin laden are
"looney bush junior" ~ "against us."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://mail.linux.ie/pipermail/ilug/attachments/20040505/0db56ddb/attachment.pgp
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!