Re: Use "sed -n …" instead of "sed s/…/p -e d" in s-header-vars

Hans-Peter Nilsson
Tue May 15 03:22:00 GMT 2012

On Mon, 30 Apr 2012, Olivier Hainque wrote:
> Hello,
> "sed s/?/p -e d" as used in s-header-vars doesn't work on
> at least ia64-hpux, where s/.../p only prints out if -n was
> requested as well.
> The attached patch fixes this by using '-n' instead of a
> trailing '-e d'

>         * (s-header-vars): Resort to -n instead of trailing
>         -e d in sed invocation.

Random non-maintainer comments: I'd suggest adding a nearby
comment to avoid a future edit changing it back.  The attachment
with the patch had the mime-type "Video/X-DV", maybe indicating
an issue with your mail-client setup mismatching the .dif
filename suffix.

brgds, H-P

More information about the Gcc-patches mailing list