summaryrefslogtreecommitdiffstats
path: root/getopt/getopt-test.tcsh
blob: d661e767dee41d114aec44a0b624c5fb3584fb34 (plain) (blame)
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