On 12/26/2010 06:21 PM, Jon Stanley wrote:
>
> I think that you're seeing the difference in line termination
> characters in Linux and Windows. If you just want the characters
> themselves echoed to the command in Linux, you need to use 'echo -n'
> otherwise it gets terminated with a newline.
'echo -n' is non-portable. You are better off conditioning yourself to
think about 'printf' rather than perpetuating the problems associated
with 'echo -n'.
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc Description: OpenPGP digital signature