Pádraig Brady <[email protected]> writes:

> Well I was assuming GNU tools for maintainers, but indeed:
>
>   solaris11$ seq 10 | sed -n '1,2='
>   Only one address allowed: 1,2=

Not sure if we have ever said that GNU tools are required for
"maintainer-makefile", besides GNU Make which is obviously required.

However, I only run it on my personal machine, e.g., not cfarm ones or
virtual machines used for testing. So I certainly wouldn't notice or
mind if they didn't work on Solaris. Perhaps others have a similar
opinion.

> Though { block } supports a range and is portable,
> and also allows use to be more efficient.
> So I'll make this adjustment instead:
>
>   stub_offset=$(sed -n "${stub_range}{=;q;}" "$news")

That file has:

    # These variables ought to be defined through the configure.ac section
    # of the module description. But some packages import this file directly,
    # ignoring the module description.
    AWK ?= awk
    GREP ?= grep
    SED ?= sed

Perhaps you can use $(SED), so that BSD people can run:

   $ gmake SED=gsed

if they would like. I notice a few places where plain 'grep' is used.
They are simple expressions, but I will probably change them anyways.

Collin

Reply via email to