home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / unixtool.zip / TOOLS / true < prev    next >
Text File  |  2000-04-21  |  330b  |  22 lines

  1. #!/bin/sh
  2.  
  3. usage="Usage: $0 [OPTION]...\r
  4. \r
  5.    --help      display this help and exit\r
  6.    --version   output version information and exit"
  7.  
  8. case $# in
  9.   1 )
  10.     case "z${1}" in 
  11.       z--help )
  12.      echo "$usage"; exit 0 ;;
  13.       z--version )
  14.      echo "true - @VERSION@"; exit 0 ;;
  15.       * ) ;;
  16.     esac
  17.     ;;
  18.   * ) ;;
  19. esac
  20.  
  21. exit 0
  22.