On 02/02/2017 03:02 AM, Sangamesh Mallayya wrote: > Hi, > > description: > in bash echo -n , echo -e , echo -E has a special meaning. But we do not > have a way in bash shell if we want to print > -n , -e and -E using echo command.
There is NO portable way to print those strings using 'echo'. Use 'printf' instead. POSIX even tells you to do that. > Please let us know if this a bug or do we have any other option to print > -n ? Not a bug. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature