home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / doc / util-linux / examples / getopt-test.tcsh < prev    next >
Encoding:
Text File  |  2009-02-18  |  120 b   |  8 lines

  1. #!/bin/tcsh
  2. getopt -T >&/dev/null
  3. if ( $status == 4) then
  4.   echo "Enhanced getopt(1)"
  5. else
  6.   echo "Old getopt(1)"
  7. endif
  8.