Changeset 2335
- Timestamp:
- May 18, 2008, 2:38:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/test/testsuite.sh
r2325 r2335 73 73 # they put a newline at the end of their input if it was not there 74 74 # initially. (Linux sed doesn't, but OS X sed does.) 75 check "$ZZOPTS" "head - - -n 9999 $file" "head -n 9999"76 check "$ZZOPTS" "tail - - -n 9999 $file" "tail -n 9999"77 check "$ZZOPTS" "tail - - -n +1 $file" "tail -n +1"78 check "$ZZOPTS" "grep - - -a '' $file" "grep -a ''"79 check "$ZZOPTS" "sed - - -e n $file" "sed -e n"80 #check "$ZZOPTS" "cut - - -b1- $file" "cut -b1-"81 check "$ZZOPTS" "-i head - - -n 9999 < $file" "|head -n 9999"82 check "$ZZOPTS" "-i tail - - -n 9999 < $file" "|tail -n 9999"83 check "$ZZOPTS" "-i tail - - -n +1 < $file" "|tail -n +1"84 check "$ZZOPTS" "-i grep - - -a '' < $file" "|grep -a ''"85 check "$ZZOPTS" "-i sed - - -e n < $file" "|sed -e n"86 #check "$ZZOPTS" "-i cut - - -b1- < $file" "|cut -b1-"75 check "$ZZOPTS" "head -n 9999 $file" "head -n 9999" 76 check "$ZZOPTS" "tail -n 9999 $file" "tail -n 9999" 77 check "$ZZOPTS" "tail -n +1 $file" "tail -n +1" 78 check "$ZZOPTS" "grep -a '' $file" "grep -a ''" 79 check "$ZZOPTS" "sed -e n $file" "sed -e n" 80 #check "$ZZOPTS" "cut -b1- $file" "cut -b1-" 81 check "$ZZOPTS" "-i head -n 9999 < $file" "|head -n 9999" 82 check "$ZZOPTS" "-i tail -n 9999 < $file" "|tail -n 9999" 83 check "$ZZOPTS" "-i tail -n +1 < $file" "|tail -n +1" 84 check "$ZZOPTS" "-i grep -a '' < $file" "|grep -a ''" 85 check "$ZZOPTS" "-i sed -e n < $file" "|sed -e n" 86 #check "$ZZOPTS" "-i cut -b1- < $file" "|cut -b1-" 87 87 ;; 88 88 esac
Note: See TracChangeset
for help on using the changeset viewer.