13,420
edits
Changes
no edit summary
::do
:: case $name in
:: : i) inputFile=$OPTARG ;;:: : o) outputFile=$OPTARG:: : outputFlag="y" ;;:: : :) echo "Error: You need text after options requiring text":: : : : exit 1 ;;:: : \?) echo "Error: Incorrect option":: : exit 1 ;;
::: esac
</code>