
Q about Bourne shell "read" command
Hi,
I've been tinkering around writing a "read" command for my Macintosh
shell. I've based the command upon the definition in "UNIX Power Tools",
section 46.13.
That book gives the synopsis as:
read varname
And says "If you name more than one variable, the first word typed goes
into the first variable, the second word goes into the second variable,
and so on... all leftover variables go into the last variable"
I've done that, but I wonder what other options there might be. Could
someone email me a man page for the Bourne "read"?
I'm tempted to make it:
read var [var...] -p prompt
but I don't know how non-standard that would be.
Thanks,
John (jjen...@kaiwan.com)