From: Eric Blake Date: Fri, 18 Dec 2009 21:42:49 GMT Subject: Re: [PATCHv2] am: fix patch format detection for Thunderbird "Save As" emails Message-ID: In-Reply-To: <1261172078-9174-1-git-send-email-bebarino@gmail.com> Stephen Boyd gmail.com> writes: > + { > + echo "X-Fake-Field: Line One\015" && echo and \ do not portably mix. For that matter, shell double quotes and backslash escapes that are not required by POSIX do not portably mix. To reliably create carriage returns in shell, you need to use printf, or else something like: echo "...@" | tr '@' '\015' -- Eric Blake