File: getopt-test.tcsh

package info (click to toggle)
cbflib 0.7.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 18,836 kB
  • ctags: 4,344
  • sloc: ansic: 36,265; python: 1,981; makefile: 982; yacc: 599; f90: 210; sh: 84; cpp: 65; csh: 43
file content (7 lines) | stat: -rwxr-xr-x 120 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
#!/bin/tcsh
getopt -T >&/dev/null
if ( $status == 4) then
  echo "Enhanced getopt(1)"
else
  echo "Old getopt(1)"
endif