LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] [TOTD] find error corresponding to number

[ILUG] [TOTD] find error corresponding to number

Brian Foster blf at utvinternet.ie
Sat May 8 09:20:27 IST 2004


  | Date: Fri, 7 May 2004 13:02:13 +0100
  | From: kevin lyda <kevin+dated+1084363341.210b51 at ie.suberic.net>
  | 
  | On Fri, May 07, 2004 at 12:38:28PM +0100, Feargal Reilly wrote:
  | > Bloatware at 550 chars [ ... ]
  | dear god.  550 bytes?  strerror.pl is down to 92 bytes [ ... ]

 I've been looking up numbers/text/names for c.20 years,
 and don't bother with a script.  it's so trivial, what's
 the point?  c.55 bytes easily typed at the prompt:

   find /usr/include -name errno.h | xargs egrep '\<12\>'

 season to taste and s/w versions (and yes, I am aware
 that even shorter versions are possible!).

cheers!
	-blf-
-- 
«How many surrealists does it take to    |  Brian Foster      Montpellier,
 change a lightbulb?  Three.  One calms  |  blf at utvinternet.ie      France
 the warthog, and two fill the bathtub   |    Stop E$$o (ExxonMobile)!
 with brightly-colored machine tools.»   |        http://www.stopesso.com



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell