From: Johannes Schindelin Date: Sat, 08 Jul 2006 18:57:43 GMT Subject: Re: [PATH] sed -e '/RE/r rfile/' needs space in 'r rfile' Message-ID: In-Reply-To: <7v7j2oq7h3.fsf@assigned-by-dhcp.cox.net> Hi, On Sat, 8 Jul 2006, Junio C Hamano wrote: > Johannes Schindelin writes: > > >> in commit 07002287f3e219a16a948a8a6eca0a41162a491f > >> you cleaned up 'replace ugly and unportable sed invocation' as you said. > >> Please note, that some SEDs (like HP-UX one) mandate a space between 'r' > >> and 'rfile'. > > > > Ack. Note that this is yet-another-reason to step away from scripts. > > Are you talking about doing this part in the Makefile in C ;-)? If it is not portable, then yes ;-) But of course, you know the spirit this was written in: I had no way to test with sed on HP-UX, so I do not know if my change works there. However, I know that if it is C -- except for bugs in HP-UX's C compiler -- then it works on HP-UX as expected. Ciao, Dscho