URI: 
       passthrough.test: Use sed instead of tail. - enscript - GNU Enscript
  HTML git clone git://thinkerwim.org/enscript.git
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 3cdbcb6ae69304350294ec250d84b6ce9ea688b0
   DIR parent c8d1c11f1a639b94fe58796fb83e75eea2c964ab
  HTML Author: Tim Retout <diocles@gnu.org>
       Date:   Thu,  4 Oct 2012 22:29:30 +0100
       
       passthrough.test: Use sed instead of tail.
       
       Diffstat:
         M ChangeLog                           |       4 ++++
         M src/tests/passthrough.test          |      16 ++++++++--------
       
       2 files changed, 12 insertions(+), 8 deletions(-)
       ---
   DIR diff --git a/ChangeLog b/ChangeLog
       @@ -1,3 +1,7 @@
       +2012-10-04  Tim Retout  <diocles@gnu.org>
       +
       +        * src/tests/passthrough.test: Use sed instead of tail.
       +
        2012-09-27  Jerome Roovers  <jer@gentoo.org>
        
                * src/tests/passthrough.test: Remove obsolete "+2" arguments to
   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 -n +2 >$output
       +  | sed '1d' >$output
        
       -result=`tail -n +2 test_input.ps | cmp - $output`
       +result=`sed '1d' 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 -n +2 >$output
       +  | sed '1d' >$output
        
       -result=`tail -n +2 test_input.ps | cmp - $output`
       +result=`sed '1d' 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 -n +2 >$output
       +  | sed '1d' >$output
        
       -result=`tail -n +2 test_input.pcl | cmp - $output`
       +result=`sed '1d' 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 -n +2 >$output
       +  | sed '1d' >$output
        
       -result=`tail -n +2 test_input.pcl | cmp - $output`
       +result=`sed '1d' test_input.pcl | cmp - $output`
        
        if test "X$result" != "X"; then
          exit 1