From: Andreas Ericsson Date: Fri, 05 Oct 2007 08:54:02 GMT Subject: Re: Correction for post-receive-email Message-ID: <4705FBAA.50302@op5.se> In-Reply-To: <200710050913.58835.andyparkins@gmail.com> Andy Parkins wrote: > On Friday 2007 October 05, Eric Mertens wrote: > >> I noticed that my mutt wasn't correctly detecting the signature block >> on the end of the automated emails I was receiving from the script in >> contrib. I've made this trivial change in my local copy of the script, >> but I figured that if I was going to be modifying the source code I >> should share my changes. > > That change has been in my pending queue for a while. It's technically > correct, but I've never submitted it. The reason I haven't is that it adds > trailing whitespace. > > Perhaps one of the shell gurus can offer a nicer way of having a trailing > space be output in a heredoc that doesn't add a trailing space in the source > script? > space=' ' cat << EOF --$space EOF -- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231