Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

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

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:33

Hi,

On Sat, 8 Jul 2006, Junio C Hamano wrote:
Johannes Schindelin [off-list ref] writes:
quoted
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help