From: Junio C Hamano Date: Fri, 18 Dec 2009 00:15:25 GMT Subject: Re: [PATCH] am: fix patch format detection for Thunderbird "Save As" emails Message-ID: <7vtyvpcf36.fsf@alter.siamese.dyndns.org> In-Reply-To: <1261094299-22930-1-git-send-email-bebarino@gmail.com> Stephen Boyd writes: > I'm not sure how portable \r in a sed invocation is. Not very portable. Adding tr -d '\015' <"$1" | in front of the original "sed" invocation might be a better choice. > but seems necessary because check_patch_format() is called before any > splitting with mailsplit is done (where I assume the fix for the issue > will be done). I agree that the way non-native mbox format was bolted onto "am" is somewhat unfortunate.