From: Andreas Schwab Date: Sat, 19 Dec 2009 10:26:47 GMT Subject: Re: [PATCHv2] am: fix patch format detection for Thunderbird "Save As" emails Message-ID: In-Reply-To: <4B2C70ED.1020602@gmail.com> Stephen Boyd writes: > On 12/18/2009 09:38 PM, Eric Blake wrote: >> Closer, but not there yet. "$/" is still not defined. Then, as a matter >> of style, '\' is more readable than "\\" for representing a backslash. So >> as long as we are shifting to '', we might as well do it everywhere in >> that line - write it like this: >> >> } | sed -e 's/$/;/' | tr ';' '\015'> patch1-crlf.eml >> >> and you should be set. > > Ah, I think you missed that this stuff is inside single quotes already. I > would love to just do what you suggest here. You can replace every use of ' by '\''. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."