read and REPLY
I am very new to script writing so pardon my ignorance. I have been
working from the bash man page. It indicates that read (with no
parameters) puts the line read into the predefined variable REPLY. My
problem is that I don't seem to be able to *use* the variable. With a line
like: echo "$(REPLY)" or echo $(REPLY) I get the error : REPLY command not
found. If I try: echo REPLY the output is just REPLY.
How do I get the contents of reply?
TIA,
Dwarf
------------ --------------
aka Dale Scheetz Phone: 1 (904) 877-0257
Flexible Software Fax: NONE
Black Creek Critters e-mail: dwarf@polaris.net
------------ If you don't see what you want, just ask --------------
Reply to: