[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] makeinfo problem
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] makeinfo problem |
Date: |
Fri, 04 Nov 2005 13:22:05 +0100 (CET) |
> Since `{' and `}' are technically sed directives in their own right,
aah, yes. Badly documented in `sed.info'.
> Even better, might be to rewrite the sed expression as
>
> s/^.* \([^ ]\+\)$/\1/;1q
>
> thus avoiding the braces altogether.
Done. Thanks for the suggestion!
> I found I had to rewrite that sed expression as
>
> sed '/HAVE_PROCESS_H/{;N;h;N;g;D;}' ${srcdir}/$$f \
>
> to make it work reliably with the GNU sed 3.02, provided with
> MinGW/MSYS; (actually, I didn't *need* the semicolon after the `{',
> but I *did* need the one after the `D').
Aah, please send a bug report to address@hidden (the word `sed' must
be in the `Subject:' field). For example, the `;' command to separate
sed commands isn't documented at all, only examples are given.
Werner