util-linux/getopt/getopt-test.tcsh

8 lines
120 B
Tcsh
Raw Normal View History

2006-12-06 17:25:35 -06:00
#!/bin/tcsh
getopt -T >&/dev/null
if ( $status == 4) then
echo "Enhanced getopt(1)"
else
echo "Old getopt(1)"
endif