httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf S. Engelschall" <>
Subject Re: [BUG] src/helpers/ should make intermediate directories
Date Wed, 15 Jul 1998 14:16:57 GMT

In article <> you wrote:
> On Wed, Jul 15, 1998 at 02:56:46PM +0200, Ralf S. Engelschall wrote:
>> Hmmmm... then your sed is broken, yes. Perhaps it likes
>> this more robust variant better:
>> sed -e 's/^:\//%/' -e 's/^://' -e 's/\// /g' -e 's/^%/\//'
>> It works equal for me. Please try this variant. It should work better because
>> that the way we do all other sed-stuff inside configure and Configure.

> Nope, that doesn't help either. I already filed a bug report.

>   > echo :/a/b/c/d | sed -e 's/^:\//%/' -e 's/^://' -e 's/\// /g' -e 's/^%/\//'
>   /a b/c/d

> On the other hand, dropping the last replacement works:
>   > echo :/a/b/c/d | sed -e 's/^:\//%/' -e 's/^://' -e 's/\// /g'
>   %a b c d

> so a workaround for this broken sed is
>   > echo :/a/b/c/d | sed -e 's/^:\//%/' -e 's/^://' -e 's/\// /g' | sed  -e 's/^%/\//'
>   /a b c d

> But I don't think that this broken sed should be fixed in apache.

Yeah, that than definitely a broken sed on this platform.
Oh hell, I wish one could use Perl for such things.... ;-)
Too bad that Perl is just 10 years and still don't exists everywhere...

                                       Ralf S. Engelschall

View raw message