<quote who="David Kempe">

> if [ "$ERRORNUM" != 0 ]

> Anyone have a nice way of converting the output of a grep + cut 
> statement to an int? I have a number, just not an int.

In my experience (not actually based on solid data), if you quote it, it is
interpreted as a string.

- Jeff

-- 
GVADEC 2004: Kristiansand, Norway                    http://2004.guadec.org/
 
    "Learning and doing is the true spirit of free software -- learning
   without doing gets you academic sterility, and doing without learning
    is all too often the way things are done in proprietary software." -
                                Raph Levien
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to