Remove obsolete "+2" arguments to tail. - enscript - GNU Enscript
(HTM) git clone git://thinkerwim.org/enscript.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit c8d1c11f1a639b94fe58796fb83e75eea2c964ab
(DIR) parent ec4879b9fc266b82efac8b7c8445e491969451c1
(HTM) Author: Tim Retout <diocles@gnu.org>
Date: Thu, 27 Sep 2012 20:04:31 +0100
Remove obsolete "+2" arguments to tail.
Diffstat:
M ChangeLog | 5 +++++
M src/tests/passthrough.test | 16 ++++++++--------
2 files changed, 13 insertions(+), 8 deletions(-)
---
(DIR) diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2012-09-27 Jerome Roovers <jer@gentoo.org>
+
+ * src/tests/passthrough.test: Remove obsolete "+2" arguments to
+ tail.
+
2012-09-25 Tim Retout <diocles@gnu.org>
* configure.ac: Release 1.6.6.
(DIR) diff --git a/src/tests/passthrough.test b/src/tests/passthrough.test
@@ -14,9 +14,9 @@ EOF
### test_pass_through() {
$enscript -G2r --quiet --pass-through -p- test_input.ps \
- | tail +2 >$output
+ | tail -n +2 >$output
-result=`tail +2 test_input.ps | cmp - $output`
+result=`tail -n +2 test_input.ps | cmp - $output`
if test "X$result" != "X"; then
exit 1
@@ -34,9 +34,9 @@ EOF
### test_pass_through() {
$enscript -G2r --quiet --pass-through -p- test_input.ps \
- | tail +2 >$output
+ | tail -n +2 >$output
-result=`tail +2 test_input.ps | cmp - $output`
+result=`tail -n +2 test_input.ps | cmp - $output`
if test "X$result" != "X"; then
exit 1
@@ -52,9 +52,9 @@ EOF
### test_pass_through() {
$enscript -G2r --quiet --pass-through -p- test_input.pcl \
- | tail +2 >$output
+ | tail -n +2 >$output
-result=`tail +2 test_input.pcl | cmp - $output`
+result=`tail -n +2 test_input.pcl | cmp - $output`
if test "X$result" != "X"; then
exit 1
@@ -70,9 +70,9 @@ EOF
### test_pass_through() {
$enscript -G2r --quiet --pass-through -p- test_input.pcl \
- | tail +2 >$output
+ | tail -n +2 >$output
-result=`tail +2 test_input.pcl | cmp - $output`
+result=`tail -n +2 test_input.pcl | cmp - $output`
if test "X$result" != "X"; then
exit 1