Lines Matching full:tail
9 testing "tail" "tail && echo yes" "oneyes\n" "" "one"
10 testing "file" "tail file1" \
12 testing "-n in bounds" "tail -n 3 file1" "nine\nten\neleven\n" "" ""
13 testing "-n out of bounds" "tail -n 999 file1" "$BIGTEST" "" ""
14 testing "-n+ in bounds" "tail -n +3 file1" \
16 testing "-n+ outof bounds" "tail -n +999 file1" "" "" ""
17 testing "-c in bounds" "tail -c 27 file1" \
19 testing "-c out of bounds" "tail -c 999 file1" "$BIGTEST" "" ""
20 testing "-c+ in bounds" "tail -c +27 file1" \
22 testing "-c+ out of bonds" "tail -c +999 file1" "" "" ""
23 testing "-N" "tail -1 file1" "eleven\n" "" ""
26 testing "stdin no trailing newline" "tail -n 1 - " "c" "" "a\nb\nc"
27 testing "file no trailing newline" "tail -n 1 input" "c" "a\nb\nc" ""
29 testing "noseek -n in bounds" "tail -n 3" "nine\nten\neleven\n" \
31 testing "noseek -n out of bounds" "tail -n 999" "$BIGTEST" "" "$BIGTEST"
32 testing "noseek -n+ in bounds" "tail -n +3" \
35 testing "noseek -n+ outof bounds" "tail -n +999" "" "" "$BIGTEST"
36 testing "noseek -c in bounds" "tail -c 27" \
38 testing "noseek -c out of bounds" "tail -c 999" "$BIGTEST" "" "$BIGTEST"
39 testing "noseek -c+ in bounds" "tail -c +27" \
41 testing "noseek -c+ out of bonds" "tail -c +999" "" "" "$BIGTEST"
57 testing "-c 12345 -n 3 bigfile" "tail -c 12345 -n 3 bigfile | md5sum" \
59 testing "-n 3 -c 12345 bigfile" "tail -n 3 -c 12345 bigfile | md5sum" \
65 …'tail -f one & sleep .25 ; echo two >> one; sleep .25; echo three >> one; sleep .25; kill $! >/dev…
73 …'tail -f one two three & sleep .25 ; echo more >> three ; echo also >> one; sleep .25; kill $! >/d…
77 testing "-F" "tail -s .1 -F walrus 2>/dev/null & sleep .2; echo hello > walrus;