[PATCH] Use POSIX standardized options for head(1) and tail(1)

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



---
 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@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux