dce@sony.com (David Elliott) (10/20/89)
Here's an interesting problem. In bash, the echo command can take the
options -n and -e.
We are using bash with the C news inews program (our standard sh is
broken and we aren't ready to upgrade to a new release), and inews
wants to do an
echo "-- "
Bash's echo sees this and gives an invalid flag message.
In this case, I simply changed the line to
echo "BB " | tr B -
but it seems reasonable to me that there should be a way to say
"There are no more options; process the rest of the line as it
is".
--
David Elliott
dce@sony.com | ...!{uunet,mips}!sonyusa!dce