I have a shell script with sample code as follows..am trying to convert into a .cmd
file.. can anyone provide inputs on what is the syntax for while and case in .cmd
file?
while getopts "c" flag
do
# In case clear option
case $flag in
c) code
exit
;;
esac
done