Bruce Momjian writes:
> ! if [ $REPLY = "y" -o $REPLY = "Y" ]; then
>
> fixed to:
>
> ! if [ "$REPLY" = "y" -o "$REPLY" = "Y" ]; then
Good.
FYI, it's never necessary to quote the right side of a shell variable
assignment.
FOO=$BAR
always works, as does
case $foo in ...
But it doesn't hurt of course.
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/