[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
defining classes based on returning results of (shell) commands?
From: |
Robinson Tiemuqinke |
Subject: |
defining classes based on returning results of (shell) commands? |
Date: |
Wed, 23 Aug 2006 15:59:28 -0700 (PDT) |
Hi,
If there are any ways to define groups/classes with
the return results of (shell) commands? Currently
there is a function called ReturnZero can be used to
define classes based on exit code, like explained in
the online reference:
ReturnsZero(command)
True if the named shell command returns with exit code
zero (success).
But what Id like to have is something like the
following:
strCmpReturn(identificationString, command)
True if the named shell command returns with
(exactly) the identificationString(or number).
If there is already a function like the above? If
not, anyone can suggest another way to workaround it?
Thanks a lot.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
- defining classes based on returning results of (shell) commands?,
Robinson Tiemuqinke <=