Re: [PATCH] Fix bug when attempting to echo special sequences literally.
From:
James Youngman
Subject:
Re: [PATCH] Fix bug when attempting to echo special sequences literally.
Date:
Thu, 13 Mar 2008 11:04:26 +0000
On Thu, Mar 13, 2008 at 5:47 AM, Adam Rosenwald <address@hidden> wrote:
> Try using echo to output the string '-e' or '-E' or '-n' literally. You
> can't.
$ for i in e E n; do /bin/echo -e '\055'$i; done
-e
-E
-n