> To help my scripting, is there a simple way (one liner maybe) to ask for
> the user to input a multi-character value and assign it to a variable?
>

echo -n "What is V: "; read V; echo $V

Remember that bash has a help system for the builtin commands.

help read
help echo

will explain it all.

For a pretty good scripting guide, I'd suggest:

The Advanced Bash-Scripting Guide

http://tldp.org/LDP/abs/html/

HTH

--
Sincerely etc.
Christopher Sawtell

Reply via email to