Trying to write shell scripts that are very portable, but that need to
prompt for input, can be a pain. In particular you usually have to do
one of the following:
echo -n "Enter host type:"
echo "Enter host type:\c"
Does anyone know of a system where the following DOES NOT work?
echo "Enter host type:" | tr -d '\012'
PLEASE DO NOT TELL ME IF IT WORKS. I only want to know of places
where it doesn't.
Responses to me will be summarized.
Thanks.
/r$
--
Use a domain-based address or give alternate paths, or you may lose out.