git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 8, 2006, 18:57 UTC
Message-ID
<Pine.LNX.4.63.0607082055360.29667@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7v7j2oq7h3.fsf@assigned-by-dhcp.cox.net>
Hi,
On Sat, 8 Jul 2006, Junio C Hamano wrote:
Show 10 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> 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

Previous: Junio C Hamano
Message 4 of 4 in “[PATH] sed -e '/RE/r rfile/' needs space in 'r rfile'”
  1. Michal RokosJul 8, 2006
  2. Johannes SchindelinJul 8, 2006
  3. Junio C HamanoJul 8, 2006
  4. Johannes SchindelinJul 8, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.