[ILUG] [TOTD] find error corresponding to number

John Allen john.allen at dublinux.net
Thu May 6 15:37:25 IST 2004


On Thursday 06 May 2004 14:59, Nick Murtagh wrote:
> kevin lyda wrote:
> > yes, but my perl script would search the text of errors if sys.argv[1]
> > wasn't an int (and wasn't empty).
>
> I rewrote John Allen's version.

Yeah, mine was read-write; Kevin's was write only.

>
> Anyway, that's what grep is for man! :)

A true believer in the Unix philosophy.

-- 
John Allen,                          mailto:john.allen at dublinux.net
MandrakeClub Silver Member.          http://www.dublinux.net

Mandrake Linux release 10.0 (Community) for i586, kernel 2.6.3-8mdk
 15:31:47 up 9 days,  5:06,  1 user,  load average: 0.37, 0.14, 0.06



More information about the ILUG mailing list