[PATCH] Use POSIX standardized options for head(1) and tail(1)
Damien Miller
djm at mindrot.org
Fri May 1 14:33:55 AEST 2020
Hi,
Thanks, but I don't think we're going to merge this one because I'm
somewhat worried that some systems we currently build on do not support
the -n syntax. Conversely, AFAIK everything* supports -number.
-d
* except some GNU tools if you don't set a magic env var, which we do
On Sat, 25 Apr 2020, Michael Forney wrote:
> ---
> Makefile.in | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile.in b/Makefile.in
> index 304d96cd..47e04c02 100644
> --- a/Makefile.in
> +++ b/Makefile.in
> @@ -353,7 +353,7 @@ depend-rebuild:
> rm -f config.h
> touch config.h
> makedepend -w1000 -Y. -f .depend *.c 2>/dev/null
> - (head -2 .depend; tail +3 .depend | sort) >.depend.tmp
> + (head -n 2 .depend; tail -n +3 .depend | sort) >.depend.tmp
> mv .depend.tmp .depend
> rm -f config.h
>
> --
> 2.26.2
>
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>
More information about the openssh-unix-dev
mailing list