Re: [PATCHv2] am: fix patch format detection for Thunderbird "Save As" emails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephen Boyd <bebarino <at> 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


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]