Re: [PATH] sed -e '/RE/r rfile/' needs space in 'r rfile'

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

 



Hi,

On Sat, 8 Jul 2006, Junio C Hamano wrote:

> Johannes Schindelin <Johannes.Schindelin@xxxxxx> 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

-
: 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]