home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / bin / true < prev    next >
Text File  |  1994-12-22  |  332b  |  22 lines

  1. #!/bin/sh
  2.  
  3. usage="Usage: $0 [OPTION]...
  4.  
  5.    --help      display this help and exit
  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 - GNU sh-utils 1.12"; exit 0 ;;
  15.       * ) ;;
  16.     esac
  17.     ;;
  18.   * ) ;;
  19. esac
  20.  
  21. exit 0
  22.