util-linux/getopt-1.0.3b/test.tcsh

8 lines
120 B
Tcsh

#!/bin/tcsh
getopt -T >&/dev/null
if ( $status == 4) then
echo "Enhanced getopt(1)"
else
echo "Old getopt(1)"
endif