I would like to see read's -d option expanded to accept a string of
characters, any one of which would terminate input. The character
which terminates input should be stored in a variable, e.g.,
$REPLY_END.
--
Chris F.A. Johnson, webmaster <http://woodbine-gerrard.com>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)