[PLUG] Collect input via bash?

Tyler F. Creelan creelan at engr.orst.edu
Sat Aug 31 16:45:22 UTC 2002


How do I collect user input using bash? For example, if you wanted to
collect three strings at the command line and store them as variables:

$./myscript.sh

your name: foo bar
number of oranges : 34
number of apples : 6

Any ideas?






More information about the PLUG mailing list