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

Johnathan Hicks thetech at folkwolf.net
Fri Feb 23 01:33:25 EST 2001

In light if the recent debate over Perl, I was reminded of a script I
was meaning to convert from perl to bash shell, but I have one problem.
How do I input a line from the keyboard into a variable like
"$foo=<STDIN>" in Perl?

More information about the OCLUG mailing list