6 lines
133 B
Plaintext
Executable File
6 lines
133 B
Plaintext
Executable File
echo -n "Do you wish to ${1:#question}" '[y/n] ' ; read ${2:ans}
|
|
case "$$2" in
|
|
y*|Y*) ${3:#statement} ;;
|
|
*) ${4:#statement};;
|
|
esac
|