;;
after the previous case item?while getoptions f option
do
case "${options}"
in"${ARG}"
f) FTR=
\?) exit
esac done
while getoptions f option
do
case "${options}"
in"${ARG}"
f) FTR=
\?) exit;;
esac done
Syntax case
needs ;;
after the previous case item. If not, syntax error will cause.
ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.