[PATCH] Use POSIX standardized options for head(1) and tail(1)
Michael Forney
mforney at mforney.org
Sun Apr 26 11:43:44 AEST 2020
---
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
More information about the openssh-unix-dev
mailing list