> 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 [EMAIL PROTECTED] (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


_______________________________________________
Groff mailing list
Groff@gnu.org
http://lists.gnu.org/mailman/listinfo/groff

Reply via email to