On Thu, Feb 2, 2017 at 3:02 AM, Sangamesh Mallayya < sangamesh.sw...@in.ibm.com> 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. Other shells supports printing of > -n/-e/-E options using echo command. > > For example > > with ksh > # echo -n > -n > # > > with bash > # echo -n > > # > > Please let us know if this a bug or do we have any other option to print > -n ? > Well, as another told me "echo is _evil_". You could use "printf" instead: $ printf '%s\n' '-n' -n -- There’s no obfuscated Perl contest because it’s pointless. —Jeff Polk Maranatha! <>< John McKown