Sign in
nest-open-source
/
nest-learning-thermostat
/
5.1
/
util-linux-ng
/
refs/heads/master
/
.
/
util-linux-ng-2.17.2
/
getopt
/
getopt-test.bash
blob: 149e1f9b05b86c8e19ce39e7d31bf06b6d4d60bf [
file
] [
log
] [
blame
] [
edit
]
#!/bin/bash
if
`getopt -T >/dev/null 2>&1`
;
[
$
?
=
4
]
;
then
echo
"Enhanced getopt(1)"
else
echo
"Old getopt(1)"
fi