Changeset 1586 for zzuf


Ignore:
Timestamp:
Jan 6, 2007, 9:20:15 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Added head and tail to the testsuite.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/test/testsuite.sh

    r1580 r1586  
    7676            # they put a newline at the end of their input if it was not there
    7777            # initially. (Linux sed doesn't, but OS X sed does.)
     78            check "$ZZOPTS" "head -- -n -0 $file" "head -n -0"
     79            check "$ZZOPTS" "-i head -- -n -0 < $file" "|head -n -0"
     80            check "$ZZOPTS" "tail -- -n +1 $file" "tail -n +1"
     81            check "$ZZOPTS" "-i tail -- -n +1 < $file" "|tail -n +1"
    7882            check "$ZZOPTS" "grep -- -a '' $file" "grep -a ''"
    7983            check "$ZZOPTS" "-i grep -- -a '' < $file" "|grep -a ''"
Note: See TracChangeset for help on using the changeset viewer.