[oclug] How do I input in a (bash) shell script

Tom Goulet tomg at nova.yi.org
Fri Feb 23 01:41:43 EST 2001


>How do I input a line from the keyboard into a variable like

tomg at nova:~$ read foo
blah
tomg at nova:~$ echo $foo
blah

Hope that helps :)

TomG
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://tux.oclug.on.ca/pipermail/oclug/attachments/20010223/8a44cda5/attachment.bin


More information about the OCLUG mailing list