Some times, -t STDIN is used.
But here, arguments sound like the way to go. If "answer" is provided as an argument, use it. If not, prompt for it.
PS - If you're want to be interactive, use <STDIN> and not <>.
In reply to Re: Altering Behavior of a Script
by ikegami
in thread Altering Behavior of a Script
by bichonfrise74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |