Permalink
Browse files

More portable use of tail.

Apparently, tail +2 is not portable, but tail -n +2 should work.
(cherry picked from commit b85b2d8)
  • Loading branch information...
1 parent b6f7354 commit a720b2309eebb7ad0f16866d2f26bfefcfefa002 @steveicarus committed Dec 4, 2009
Showing with 3 additions and 3 deletions.
  1. +1 −1 Makefile.in
  2. +1 −1 driver/Makefile.in
  3. +1 −1 vvp/Makefile.in
View
@@ -223,7 +223,7 @@ lexor_keyword.cc: $(srcdir)/lexor_keyword.gperf
iverilog-vpi.man: $(srcdir)/iverilog-vpi.man.in version.exe
./version.exe `head -1 $(srcdir)/iverilog-vpi.man.in`'\n' > $@
- tail +2 $(srcdir)/iverilog-vpi.man.in >> $@
+ tail -n +2 $(srcdir)/iverilog-vpi.man.in >> $@
iverilog-vpi.ps: iverilog-vpi.man
$(MAN) -t iverilog-vpi.man > iverilog-vpi.ps
View
@@ -86,7 +86,7 @@ cflexor.o: cflexor.c cfparse.h
iverilog.man: $(srcdir)/iverilog.man.in ../version.exe
../version.exe `head -1 $(srcdir)/iverilog.man.in`'\n' > $@
- tail +2 $(srcdir)/iverilog.man.in >> $@
+ tail -n +2 $(srcdir)/iverilog.man.in >> $@
iverilog.ps: iverilog.man
$(MAN) -t iverilog.man > iverilog.ps
View
@@ -133,7 +133,7 @@ lexor.cc: $(srcdir)/lexor.lex
vvp.man: $(srcdir)/vvp.man.in ../version.exe
../version.exe `head -1 $(srcdir)/vvp.man.in`'\n' > $@
- tail +2 $(srcdir)/vvp.man.in >> $@
+ tail -n +2 $(srcdir)/vvp.man.in >> $@
vvp.pdf: vvp.man
$(MAN) -t $(srcdir)/vvp.man | $(PS2PDF) - vvp.pdf

0 comments on commit a720b23

Please sign in to comment.