[nSLUG] /usr/bin/find 'found'/'not found' exit codes?

Daniel Morrison draker at gmail.com
Fri May 2 02:02:59 ADT 2008


2008/5/2 Daniel Morrison <draker at gmail.com>:

Sorry, wrapped these lines by mistake, without escaping the new line.

-D.

user$ [ -n "`find /usr/bin -name find -print`" ] && echo found find \
  ||  echo didn\'t find find
found find

user$ [ -n "`find /usr/bin -name found -print`" ] && echo found found \
  || echo didn\'t find found
didn't find found



More information about the nSLUG mailing list