mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
rewrite tests for cargo compat, decoupled directory, output handling
This commit is contained in:
parent
b20b2cca19
commit
a21c54e2cd
165 changed files with 4315 additions and 3538 deletions
BIN
tests/fixtures/cat/256.txt
vendored
Normal file
BIN
tests/fixtures/cat/256.txt
vendored
Normal file
Binary file not shown.
5
tests/fixtures/cat/alpha.txt
vendored
Normal file
5
tests/fixtures/cat/alpha.txt
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
abcde
|
||||
fghij
|
||||
klmno
|
||||
pqrst
|
||||
uvwxyz
|
5
tests/fixtures/cksum/alice_in_wonderland.txt
vendored
Normal file
5
tests/fixtures/cksum/alice_in_wonderland.txt
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
Alice was beginning to get very tired of sitting by
|
||||
her sister on the bank, and of having nothing to do: once or twice
|
||||
she had peeped into the book her sister was reading, but it had no
|
||||
pictures or conversations in it, "and what is the use of a book,"
|
||||
thought Alice "without pictures or conversation?"
|
13
tests/fixtures/cksum/lorem_ipsum.txt
vendored
Normal file
13
tests/fixtures/cksum/lorem_ipsum.txt
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
Lorem ipsum dolor sit amet, consectetur adipiscing
|
||||
elit. Nunc interdum suscipit sem vel ornare. Proin euismod, justo
|
||||
sed mollis dictum, eros urna ultricies augue, eu pharetra mi ex id
|
||||
ante. Duis convallis porttitor aliquam. Nunc vitae tincidunt ex.
|
||||
Suspendisse iaculis ligula ac diam consectetur lacinia. Donec vel
|
||||
velit dui. Etiam fringilla, dolor quis tempor vehicula, lacus
|
||||
turpis bibendum velit, et pellentesque elit odio a magna. Cras
|
||||
vulputate tortor non libero vehicula euismod. Aliquam tincidunt
|
||||
nisl eget enim cursus, viverra sagittis magna commodo. Cras rhoncus
|
||||
egestas leo nec blandit. Suspendisse potenti. Etiam ullamcorper
|
||||
leo vel lacus vestibulum, cursus semper eros efficitur. In hac
|
||||
habitasse platea dictumst. Phasellus scelerisque vehicula
|
||||
fringilla.
|
2
tests/fixtures/cksum/multiple_files.expected
vendored
Normal file
2
tests/fixtures/cksum/multiple_files.expected
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
378294376 772 lorem_ipsum.txt
|
||||
3805907707 302 alice_in_wonderland.txt
|
1
tests/fixtures/cksum/single_file.expected
vendored
Normal file
1
tests/fixtures/cksum/single_file.expected
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
378294376 772 lorem_ipsum.txt
|
1
tests/fixtures/cksum/stdin.expected
vendored
Normal file
1
tests/fixtures/cksum/stdin.expected
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
378294376 772
|
1
tests/fixtures/cp/hello_world.txt
vendored
Normal file
1
tests/fixtures/cp/hello_world.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
Hello, World!
|
4
tests/fixtures/cut/lists.txt
vendored
Normal file
4
tests/fixtures/cut/lists.txt
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
foo:bar:baz:qux:quux
|
||||
one:two:three:four:five:six:seven
|
||||
alpha:beta:gamma:delta:epsilon:zeta:eta:theta:iota:kappa:lambda:mu
|
||||
the quick brown fox jumps over the lazy dog
|
4
tests/fixtures/cut/lists_change_delimiter.expected
vendored
Normal file
4
tests/fixtures/cut/lists_change_delimiter.expected
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
bar#baz#qux#quux
|
||||
two#three#four#five#six#seven
|
||||
beta#gamma#delta#epsilon#zeta#eta#theta#iota#kappa#lambda#mu
|
||||
the quick brown fox jumps over the lazy dog
|
4
tests/fixtures/cut/lists_char_range.expected
vendored
Normal file
4
tests/fixtures/cut/lists_char_range.expected
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
:bar:ba
|
||||
:two:th
|
||||
ha:beta
|
||||
quick
|
4
tests/fixtures/cut/lists_column_to_end_of_line.expected
vendored
Normal file
4
tests/fixtures/cut/lists_column_to_end_of_line.expected
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
quux
|
||||
five:six:seven
|
||||
epsilon:zeta:eta:theta:iota:kappa:lambda:mu
|
||||
the quick brown fox jumps over the lazy dog
|
4
tests/fixtures/cut/lists_multiple_fields.expected
vendored
Normal file
4
tests/fixtures/cut/lists_multiple_fields.expected
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
foo:baz
|
||||
one:three
|
||||
alpha:gamma
|
||||
the quick brown fox jumps over the lazy dog
|
4
tests/fixtures/cut/lists_prefix.expected
vendored
Normal file
4
tests/fixtures/cut/lists_prefix.expected
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
foo:bar:ba
|
||||
one:two:th
|
||||
alpha:beta
|
||||
the quick
|
4
tests/fixtures/cut/lists_specific_field.expected
vendored
Normal file
4
tests/fixtures/cut/lists_specific_field.expected
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
foo:bar:baz:qux:quux
|
||||
one:two:three:four:five:six:seven
|
||||
alpha:beta:gamma:delta:epsilon:zeta:eta:theta:iota:kappa:lambda:mu
|
||||
brown
|
4
tests/fixtures/cut/lists_tail.expected
vendored
Normal file
4
tests/fixtures/cut/lists_tail.expected
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
bar:baz:qux:quux
|
||||
two:three:four:five:six:seven
|
||||
beta:gamma:delta:epsilon:zeta:eta:theta:iota:kappa:lambda:mu
|
||||
the quick brown fox jumps over the lazy dog
|
1
tests/fixtures/fold/lorem_ipsum.txt
vendored
Normal file
1
tests/fixtures/fold/lorem_ipsum.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc interdum suscipit sem vel ornare. Proin euismod, justo sed mollis dictum, eros urna ultricies augue, eu pharetra mi ex id ante. Duis convallis porttitor aliquam. Nunc vitae tincidunt ex. Suspendisse iaculis ligula ac diam consectetur lacinia. Donec vel velit dui. Etiam fringilla, dolor quis tempor vehicula, lacus turpis bibendum velit, et pellentesque elit odio a magna. Cras vulputate tortor non libero vehicula euismod. Aliquam tincidunt nisl eget enim cursus, viverra sagittis magna commodo. Cras rhoncus egestas leo nec blandit. Suspendisse potenti. Etiam ullamcorper leo vel lacus vestibulum, cursus semper eros efficitur. In hac habitasse platea dictumst. Phasellus scelerisque vehicula fringilla.
|
20
tests/fixtures/fold/lorem_ipsum_40_column_hard.expected
vendored
Normal file
20
tests/fixtures/fold/lorem_ipsum_40_column_hard.expected
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
Lorem ipsum dolor sit amet, consectetur
|
||||
adipiscing elit. Nunc interdum suscipit
|
||||
sem vel ornare. Proin euismod, justo sed
|
||||
mollis dictum, eros urna ultricies augu
|
||||
e, eu pharetra mi ex id ante. Duis conva
|
||||
llis porttitor aliquam. Nunc vitae tinci
|
||||
dunt ex. Suspendisse iaculis ligula ac d
|
||||
iam consectetur lacinia. Donec vel velit
|
||||
dui. Etiam fringilla, dolor quis tempor
|
||||
vehicula, lacus turpis bibendum velit,
|
||||
et pellentesque elit odio a magna. Cras
|
||||
vulputate tortor non libero vehicula eui
|
||||
smod. Aliquam tincidunt nisl eget enim c
|
||||
ursus, viverra sagittis magna commodo. C
|
||||
ras rhoncus egestas leo nec blandit. Sus
|
||||
pendisse potenti. Etiam ullamcorper leo
|
||||
vel lacus vestibulum, cursus semper eros
|
||||
efficitur. In hac habitasse platea dict
|
||||
umst. Phasellus scelerisque vehicula fri
|
||||
ngilla.
|
21
tests/fixtures/fold/lorem_ipsum_40_column_word.expected
vendored
Normal file
21
tests/fixtures/fold/lorem_ipsum_40_column_word.expected
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
Lorem ipsum dolor sit amet, consectetur
|
||||
adipiscing elit. Nunc interdum suscipit
|
||||
sem vel ornare. Proin euismod, justo
|
||||
sed mollis dictum, eros urna ultricies
|
||||
augue, eu pharetra mi ex id ante. Duis
|
||||
convallis porttitor aliquam. Nunc vitae
|
||||
tincidunt ex. Suspendisse iaculis
|
||||
ligula ac diam consectetur lacinia.
|
||||
Donec vel velit dui. Etiam fringilla,
|
||||
dolor quis tempor vehicula, lacus
|
||||
turpis bibendum velit, et pellentesque
|
||||
elit odio a magna. Cras vulputate
|
||||
tortor non libero vehicula euismod.
|
||||
Aliquam tincidunt nisl eget enim
|
||||
cursus, viverra sagittis magna commodo.
|
||||
Cras rhoncus egestas leo nec blandit.
|
||||
Suspendisse potenti. Etiam ullamcorper
|
||||
leo vel lacus vestibulum, cursus semper
|
||||
eros efficitur. In hac habitasse platea
|
||||
dictumst. Phasellus scelerisque
|
||||
vehicula fringilla.
|
10
tests/fixtures/fold/lorem_ipsum_80_column.expected
vendored
Normal file
10
tests/fixtures/fold/lorem_ipsum_80_column.expected
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc interdum suscipit
|
||||
sem vel ornare. Proin euismod, justo sed mollis dictum, eros urna ultricies augu
|
||||
e, eu pharetra mi ex id ante. Duis convallis porttitor aliquam. Nunc vitae tinci
|
||||
dunt ex. Suspendisse iaculis ligula ac diam consectetur lacinia. Donec vel velit
|
||||
dui. Etiam fringilla, dolor quis tempor vehicula, lacus turpis bibendum velit,
|
||||
et pellentesque elit odio a magna. Cras vulputate tortor non libero vehicula eui
|
||||
smod. Aliquam tincidunt nisl eget enim cursus, viverra sagittis magna commodo. C
|
||||
ras rhoncus egestas leo nec blandit. Suspendisse potenti. Etiam ullamcorper leo
|
||||
vel lacus vestibulum, cursus semper eros efficitur. In hac habitasse platea dict
|
||||
umst. Phasellus scelerisque vehicula fringilla.
|
1
tests/fixtures/hashsum/input.txt
vendored
Normal file
1
tests/fixtures/hashsum/input.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
hello, world
|
1
tests/fixtures/hashsum/md5.expected
vendored
Normal file
1
tests/fixtures/hashsum/md5.expected
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
e4d7f1b4ed2e42d15898f4b27b019da4
|
1
tests/fixtures/hashsum/sha1.expected
vendored
Normal file
1
tests/fixtures/hashsum/sha1.expected
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
b7e23ec29af22b0b4e41da31e868d57226121c84
|
1
tests/fixtures/hashsum/sha224.expected
vendored
Normal file
1
tests/fixtures/hashsum/sha224.expected
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
6e1a93e32fb44081a401f3db3ef2e6e108b7bbeeb5705afdaf01fb27
|
1
tests/fixtures/hashsum/sha256.expected
vendored
Normal file
1
tests/fixtures/hashsum/sha256.expected
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
09ca7e4eaa6e8ae9c7d261167129184883644d07dfba7cbfbc4c8a2e08360d5b
|
1
tests/fixtures/hashsum/sha384.expected
vendored
Normal file
1
tests/fixtures/hashsum/sha384.expected
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
1fcdb6059ce05172a26bbe2a3ccc88ed5a8cd5fc53edfd9053304d429296a6da23b1cd9e5c9ed3bb34f00418a70cdb7e
|
1
tests/fixtures/hashsum/sha512.expected
vendored
Normal file
1
tests/fixtures/hashsum/sha512.expected
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
8710339dcb6814d0d9d2290ef422285c9322b7163951f9a0ca8f883d3305286f44139aa374848e4174f5aada663027e4548637b6d19894aec4fb6c46a139fbf9
|
24
tests/fixtures/head/lorem_ipsum.txt
vendored
Normal file
24
tests/fixtures/head/lorem_ipsum.txt
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
Lorem ipsum dolor sit amet,
|
||||
consectetur adipiscing elit.
|
||||
Nunc interdum suscipit sem vel ornare.
|
||||
Proin euismod,
|
||||
justo sed mollis dictum,
|
||||
eros urna ultricies augue,
|
||||
eu pharetra mi ex id ante.
|
||||
Duis convallis porttitor aliquam.
|
||||
Nunc vitae tincidunt ex.
|
||||
Suspendisse iaculis ligula ac diam consectetur lacinia.
|
||||
Donec vel velit dui.
|
||||
Etiam fringilla,
|
||||
dolor quis tempor vehicula,
|
||||
lacus turpis bibendum velit,
|
||||
et pellentesque elit odio a magna.
|
||||
Cras vulputate tortor non libero vehicula euismod.
|
||||
Aliquam tincidunt nisl eget enim cursus,
|
||||
viverra sagittis magna commodo.
|
||||
Cras rhoncus egestas leo nec blandit.
|
||||
Suspendisse potenti.
|
||||
Etiam ullamcorper leo vel lacus vestibulum,
|
||||
cursus semper eros efficitur.
|
||||
In hac habitasse platea dictumst.
|
||||
Phasellus scelerisque vehicula fringilla.
|
1
tests/fixtures/head/lorem_ipsum_1_line.expected
vendored
Normal file
1
tests/fixtures/head/lorem_ipsum_1_line.expected
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
Lorem ipsum dolor sit amet,
|
1
tests/fixtures/head/lorem_ipsum_5_chars.expected
vendored
Normal file
1
tests/fixtures/head/lorem_ipsum_5_chars.expected
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
Lorem
|
10
tests/fixtures/head/lorem_ipsum_default.expected
vendored
Normal file
10
tests/fixtures/head/lorem_ipsum_default.expected
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
Lorem ipsum dolor sit amet,
|
||||
consectetur adipiscing elit.
|
||||
Nunc interdum suscipit sem vel ornare.
|
||||
Proin euismod,
|
||||
justo sed mollis dictum,
|
||||
eros urna ultricies augue,
|
||||
eu pharetra mi ex id ante.
|
||||
Duis convallis porttitor aliquam.
|
||||
Nunc vitae tincidunt ex.
|
||||
Suspendisse iaculis ligula ac diam consectetur lacinia.
|
11
tests/fixtures/head/lorem_ipsum_verbose.expected
vendored
Normal file
11
tests/fixtures/head/lorem_ipsum_verbose.expected
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
==> lorem_ipsum.txt <==
|
||||
Lorem ipsum dolor sit amet,
|
||||
consectetur adipiscing elit.
|
||||
Nunc interdum suscipit sem vel ornare.
|
||||
Proin euismod,
|
||||
justo sed mollis dictum,
|
||||
eros urna ultricies augue,
|
||||
eu pharetra mi ex id ante.
|
||||
Duis convallis porttitor aliquam.
|
||||
Nunc vitae tincidunt ex.
|
||||
Suspendisse iaculis ligula ac diam consectetur lacinia.
|
1
tests/fixtures/mv/hello_world.txt
vendored
Normal file
1
tests/fixtures/mv/hello_world.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
Hello, World!
|
27
tests/fixtures/nl/joinblanklines.txt
vendored
Normal file
27
tests/fixtures/nl/joinblanklines.txt
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
Nonempty
|
||||
Nonempty
|
||||
Followed by 10x empty
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Followed by 5x empty
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Followed by 4x empty
|
||||
|
||||
|
||||
|
||||
|
||||
Nonempty
|
||||
Nonempty
|
||||
Nonempty.
|
18
tests/fixtures/nl/section.txt
vendored
Normal file
18
tests/fixtures/nl/section.txt
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
\:\:\:
|
||||
HEADER1
|
||||
HEADER2
|
||||
\:\:
|
||||
BODY1
|
||||
BODY2
|
||||
\:
|
||||
FOOTER1
|
||||
FOOTER2
|
||||
\:\:\:
|
||||
NEXTHEADER1
|
||||
NEXTHEADER2
|
||||
\:\:
|
||||
NEXTBODY1
|
||||
NEXTBODY2
|
||||
\:
|
||||
NEXTFOOTER1
|
||||
NEXTFOOTER2
|
15
tests/fixtures/nl/simple.txt
vendored
Normal file
15
tests/fixtures/nl/simple.txt
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
L1
|
||||
L2
|
||||
L3
|
||||
L4
|
||||
L5
|
||||
L6
|
||||
L7
|
||||
L8
|
||||
L9
|
||||
L10
|
||||
L11
|
||||
L12
|
||||
L13
|
||||
L14
|
||||
L15
|
16
tests/fixtures/paste/html_colors.expected
vendored
Normal file
16
tests/fixtures/paste/html_colors.expected
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
white #FFFFFF
|
||||
silver #C0C0C0
|
||||
gray #808080
|
||||
black #000000
|
||||
red #FF0000
|
||||
maroon #800000
|
||||
yellow #FFFF00
|
||||
olive #808000
|
||||
lime #00FF00
|
||||
green #008000
|
||||
aqua #00FFFF
|
||||
teal #008080
|
||||
blue #0000FF
|
||||
navy #000080
|
||||
fuchsia #FF00FF
|
||||
purple #800080
|
32
tests/fixtures/paste/html_colors.txt
vendored
Normal file
32
tests/fixtures/paste/html_colors.txt
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
white
|
||||
#FFFFFF
|
||||
silver
|
||||
#C0C0C0
|
||||
gray
|
||||
#808080
|
||||
black
|
||||
#000000
|
||||
red
|
||||
#FF0000
|
||||
maroon
|
||||
#800000
|
||||
yellow
|
||||
#FFFF00
|
||||
olive
|
||||
#808000
|
||||
lime
|
||||
#00FF00
|
||||
green
|
||||
#008000
|
||||
aqua
|
||||
#00FFFF
|
||||
teal
|
||||
#008080
|
||||
blue
|
||||
#0000FF
|
||||
navy
|
||||
#000080
|
||||
fuchsia
|
||||
#FF00FF
|
||||
purple
|
||||
#800080
|
2
tests/fixtures/ptx/gnu_ext_disabled_ignore_and_only_file.expected
vendored
Normal file
2
tests/fixtures/ptx/gnu_ext_disabled_ignore_and_only_file.expected
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.xx "" """quotes"", for" "roff" ""
|
||||
.xx "" "{brackets} for" "tex" ""
|
24
tests/fixtures/ptx/gnu_ext_disabled_roff_auto_ref.expected
vendored
Normal file
24
tests/fixtures/ptx/gnu_ext_disabled_roff_auto_ref.expected
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
.xx "" "" """quotes"", for roff" "" "input:3"
|
||||
.xx "" "and some other like" "%a, b#, c$c" "" "input:5"
|
||||
.xx "" "maybe" "also~or^" "" "input:6"
|
||||
.xx "" "" "and some other like %a, b#, c$c" "" "input:5"
|
||||
.xx "" "oh," "and back\slash" "" "input:7"
|
||||
.xx "" "and some other like %a," "b#, c$c" "" "input:5"
|
||||
.xx "" "oh, and" "back\slash" "" "input:7"
|
||||
.xx "" "and some other like %a, b#," "c$c" "" "input:5"
|
||||
.xx "" "let's check special" "characters:" "" "input:2"
|
||||
.xx "" "let's" "check special characters:" "" "input:2"
|
||||
.xx "" """quotes""," "for roff" "" "input:3"
|
||||
.xx "" "{brackets}" "for tex" "" "input:4"
|
||||
.xx "" "" "hello world!" "" "input:1"
|
||||
.xx "" "" "let's check special characters:" "" "input:2"
|
||||
.xx "" "and some other" "like %a, b#, c$c" "" "input:5"
|
||||
.xx "" "" "maybe also~or^" "" "input:6"
|
||||
.xx "" "" "oh, and back\slash" "" "input:7"
|
||||
.xx "" "and some" "other like %a, b#, c$c" "" "input:5"
|
||||
.xx "" """quotes"", for" "roff" "" "input:3"
|
||||
.xx "" "and" "some other like %a, b#, c$c" "" "input:5"
|
||||
.xx "" "let's check" "special characters:" "" "input:2"
|
||||
.xx "" "{brackets} for" "tex" "" "input:4"
|
||||
.xx "" "hello" "world!" "" "input:1"
|
||||
.xx "" "" "{brackets} for tex" "" "input:4"
|
17
tests/fixtures/ptx/gnu_ext_disabled_roff_input_ref.expected
vendored
Normal file
17
tests/fixtures/ptx/gnu_ext_disabled_roff_input_ref.expected
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
.xx "" "some other like" "%a, b#, c$c" "" "and"
|
||||
.xx "" "" "also~or^" "" "maybe"
|
||||
.xx "" "" "and back\slash" "" "oh,"
|
||||
.xx "" "some other like %a," "b#, c$c" "" "and"
|
||||
.xx "" "and" "back\slash" "" "oh,"
|
||||
.xx "" "some other like %a, b#," "c$c" "" "and"
|
||||
.xx "" "check special" "characters:" "" "let's"
|
||||
.xx "" "" "check special characters:" "" "let's"
|
||||
.xx "" "" "for roff" "" """quotes"","
|
||||
.xx "" "" "for tex" "" "{brackets}"
|
||||
.xx "" "some other" "like %a, b#, c$c" "" "and"
|
||||
.xx "" "some" "other like %a, b#, c$c" "" "and"
|
||||
.xx "" "for" "roff" "" """quotes"","
|
||||
.xx "" "" "some other like %a, b#, c$c" "" "and"
|
||||
.xx "" "check" "special characters:" "" "let's"
|
||||
.xx "" "for" "tex" "" "{brackets}"
|
||||
.xx "" "" "world!" "" "hello"
|
24
tests/fixtures/ptx/gnu_ext_disabled_roff_no_ref.expected
vendored
Normal file
24
tests/fixtures/ptx/gnu_ext_disabled_roff_no_ref.expected
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
.xx "" "" """quotes"", for roff" ""
|
||||
.xx "" "and some other like" "%a, b#, c$c" ""
|
||||
.xx "" "maybe" "also~or^" ""
|
||||
.xx "" "" "and some other like %a, b#, c$c" ""
|
||||
.xx "" "oh," "and back\slash" ""
|
||||
.xx "" "and some other like %a," "b#, c$c" ""
|
||||
.xx "" "oh, and" "back\slash" ""
|
||||
.xx "" "and some other like %a, b#," "c$c" ""
|
||||
.xx "" "let's check special" "characters:" ""
|
||||
.xx "" "let's" "check special characters:" ""
|
||||
.xx "" """quotes""," "for roff" ""
|
||||
.xx "" "{brackets}" "for tex" ""
|
||||
.xx "" "" "hello world!" ""
|
||||
.xx "" "" "let's check special characters:" ""
|
||||
.xx "" "and some other" "like %a, b#, c$c" ""
|
||||
.xx "" "" "maybe also~or^" ""
|
||||
.xx "" "" "oh, and back\slash" ""
|
||||
.xx "" "and some" "other like %a, b#, c$c" ""
|
||||
.xx "" """quotes"", for" "roff" ""
|
||||
.xx "" "and" "some other like %a, b#, c$c" ""
|
||||
.xx "" "let's check" "special characters:" ""
|
||||
.xx "" "{brackets} for" "tex" ""
|
||||
.xx "" "hello" "world!" ""
|
||||
.xx "" "" "{brackets} for tex" ""
|
24
tests/fixtures/ptx/gnu_ext_disabled_tex_auto_ref.expected
vendored
Normal file
24
tests/fixtures/ptx/gnu_ext_disabled_tex_auto_ref.expected
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
\xx {}{}{"quotes",}{ for roff}{}{input:3}
|
||||
\xx {}{and some other like}{\%a,}{ b\#, c\$c}{}{input:5}
|
||||
\xx {}{maybe}{also~or^}{}{}{input:6}
|
||||
\xx {}{}{and}{ some other like \%a, b\#, c\$c}{}{input:5}
|
||||
\xx {}{oh,}{and}{ back\backslash{}slash}{}{input:7}
|
||||
\xx {}{and some other like \%a,}{b\#,}{ c\$c}{}{input:5}
|
||||
\xx {}{oh, and}{back\backslash{}slash}{}{}{input:7}
|
||||
\xx {}{and some other like \%a, b\#,}{c\$c}{}{}{input:5}
|
||||
\xx {}{let's check special}{characters:}{}{}{input:2}
|
||||
\xx {}{let's}{check}{ special characters:}{}{input:2}
|
||||
\xx {}{"quotes",}{for}{ roff}{}{input:3}
|
||||
\xx {}{$\{$brackets$\}$}{for}{ tex}{}{input:4}
|
||||
\xx {}{}{hello}{ world!}{}{input:1}
|
||||
\xx {}{}{let's}{ check special characters:}{}{input:2}
|
||||
\xx {}{and some other}{like}{ \%a, b\#, c\$c}{}{input:5}
|
||||
\xx {}{}{maybe}{ also~or^}{}{input:6}
|
||||
\xx {}{}{oh,}{ and back\backslash{}slash}{}{input:7}
|
||||
\xx {}{and some}{other}{ like \%a, b\#, c\$c}{}{input:5}
|
||||
\xx {}{"quotes", for}{roff}{}{}{input:3}
|
||||
\xx {}{and}{some}{ other like \%a, b\#, c\$c}{}{input:5}
|
||||
\xx {}{let's check}{special}{ characters:}{}{input:2}
|
||||
\xx {}{$\{$brackets$\}$ for}{tex}{}{}{input:4}
|
||||
\xx {}{hello}{world!}{}{}{input:1}
|
||||
\xx {}{}{$\{$brackets$\}$}{ for tex}{}{input:4}
|
17
tests/fixtures/ptx/gnu_ext_disabled_tex_input_ref.expected
vendored
Normal file
17
tests/fixtures/ptx/gnu_ext_disabled_tex_input_ref.expected
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
\xx {}{some other like}{\%a,}{ b\#, c\$c}{}{and}
|
||||
\xx {}{}{also~or^}{}{}{maybe}
|
||||
\xx {}{}{and}{ back\backslash{}slash}{}{oh,}
|
||||
\xx {}{some other like \%a,}{b\#,}{ c\$c}{}{and}
|
||||
\xx {}{and}{back\backslash{}slash}{}{}{oh,}
|
||||
\xx {}{some other like \%a, b\#,}{c\$c}{}{}{and}
|
||||
\xx {}{check special}{characters:}{}{}{let's}
|
||||
\xx {}{}{check}{ special characters:}{}{let's}
|
||||
\xx {}{}{for}{ roff}{}{"quotes",}
|
||||
\xx {}{}{for}{ tex}{}{$\{$brackets$\}$}
|
||||
\xx {}{some other}{like}{ \%a, b\#, c\$c}{}{and}
|
||||
\xx {}{some}{other}{ like \%a, b\#, c\$c}{}{and}
|
||||
\xx {}{for}{roff}{}{}{"quotes",}
|
||||
\xx {}{}{some}{ other like \%a, b\#, c\$c}{}{and}
|
||||
\xx {}{check}{special}{ characters:}{}{let's}
|
||||
\xx {}{for}{tex}{}{}{$\{$brackets$\}$}
|
||||
\xx {}{}{world!}{}{}{hello}
|
24
tests/fixtures/ptx/gnu_ext_disabled_tex_no_ref.expected
vendored
Normal file
24
tests/fixtures/ptx/gnu_ext_disabled_tex_no_ref.expected
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
\xx {}{}{"quotes",}{ for roff}{}
|
||||
\xx {}{and some other like}{\%a,}{ b\#, c\$c}{}
|
||||
\xx {}{maybe}{also~or^}{}{}
|
||||
\xx {}{}{and}{ some other like \%a, b\#, c\$c}{}
|
||||
\xx {}{oh,}{and}{ back\backslash{}slash}{}
|
||||
\xx {}{and some other like \%a,}{b\#,}{ c\$c}{}
|
||||
\xx {}{oh, and}{back\backslash{}slash}{}{}
|
||||
\xx {}{and some other like \%a, b\#,}{c\$c}{}{}
|
||||
\xx {}{let's check special}{characters:}{}{}
|
||||
\xx {}{let's}{check}{ special characters:}{}
|
||||
\xx {}{"quotes",}{for}{ roff}{}
|
||||
\xx {}{$\{$brackets$\}$}{for}{ tex}{}
|
||||
\xx {}{}{hello}{ world!}{}
|
||||
\xx {}{}{let's}{ check special characters:}{}
|
||||
\xx {}{and some other}{like}{ \%a, b\#, c\$c}{}
|
||||
\xx {}{}{maybe}{ also~or^}{}
|
||||
\xx {}{}{oh,}{ and back\backslash{}slash}{}
|
||||
\xx {}{and some}{other}{ like \%a, b\#, c\$c}{}
|
||||
\xx {}{"quotes", for}{roff}{}{}
|
||||
\xx {}{and}{some}{ other like \%a, b\#, c\$c}{}
|
||||
\xx {}{let's check}{special}{ characters:}{}
|
||||
\xx {}{$\{$brackets$\}$ for}{tex}{}{}
|
||||
\xx {}{hello}{world!}{}{}
|
||||
\xx {}{}{$\{$brackets$\}$}{ for tex}{}
|
2
tests/fixtures/ptx/ignore
vendored
Normal file
2
tests/fixtures/ptx/ignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
maybe
|
||||
about
|
7
tests/fixtures/ptx/input
vendored
Normal file
7
tests/fixtures/ptx/input
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
hello world!
|
||||
let's check special characters:
|
||||
"quotes", for roff
|
||||
{brackets} for tex
|
||||
and some other like %a, b#, c$c
|
||||
maybe also~or^
|
||||
oh, and back\slash
|
5
tests/fixtures/ptx/only
vendored
Normal file
5
tests/fixtures/ptx/only
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
roff
|
||||
tex
|
||||
world
|
||||
maybe
|
||||
about
|
11
tests/fixtures/sort/human1.ans
vendored
Normal file
11
tests/fixtures/sort/human1.ans
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
844K
|
||||
981K
|
||||
11M
|
||||
13M
|
||||
14M
|
||||
16M
|
||||
18M
|
||||
19M
|
||||
20M
|
||||
981T
|
||||
20P
|
11
tests/fixtures/sort/human1.txt
vendored
Normal file
11
tests/fixtures/sort/human1.txt
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
14M
|
||||
20M
|
||||
20P
|
||||
11M
|
||||
981T
|
||||
16M
|
||||
18M
|
||||
19M
|
||||
844K
|
||||
981K
|
||||
13M
|
2
tests/fixtures/sort/numeric1.ans
vendored
Normal file
2
tests/fixtures/sort/numeric1.ans
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
0
|
||||
.02
|
2
tests/fixtures/sort/numeric1.txt
vendored
Normal file
2
tests/fixtures/sort/numeric1.txt
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.02
|
||||
0
|
2
tests/fixtures/sort/numeric2.ans
vendored
Normal file
2
tests/fixtures/sort/numeric2.ans
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.02
|
||||
.03
|
2
tests/fixtures/sort/numeric2.txt
vendored
Normal file
2
tests/fixtures/sort/numeric2.txt
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.03
|
||||
.02
|
2
tests/fixtures/sort/numeric3.ans
vendored
Normal file
2
tests/fixtures/sort/numeric3.ans
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.000
|
||||
.01
|
2
tests/fixtures/sort/numeric3.txt
vendored
Normal file
2
tests/fixtures/sort/numeric3.txt
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.01
|
||||
.000
|
2
tests/fixtures/sort/numeric4.ans
vendored
Normal file
2
tests/fixtures/sort/numeric4.ans
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.00
|
||||
.01
|
2
tests/fixtures/sort/numeric4.txt
vendored
Normal file
2
tests/fixtures/sort/numeric4.txt
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.01
|
||||
.00
|
2
tests/fixtures/sort/numeric5.ans
vendored
Normal file
2
tests/fixtures/sort/numeric5.ans
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.022
|
||||
.024
|
2
tests/fixtures/sort/numeric5.txt
vendored
Normal file
2
tests/fixtures/sort/numeric5.txt
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.022
|
||||
.024
|
100
tests/fixtures/sort/numeric6.ans
vendored
Normal file
100
tests/fixtures/sort/numeric6.ans
vendored
Normal file
|
@ -0,0 +1,100 @@
|
|||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
10
|
||||
11
|
||||
12
|
||||
13
|
||||
14
|
||||
15
|
||||
16
|
||||
17
|
||||
18
|
||||
19
|
||||
20
|
||||
21
|
||||
22
|
||||
23
|
||||
24
|
||||
25
|
||||
26
|
||||
27
|
||||
28
|
||||
29
|
||||
30
|
||||
31
|
||||
32
|
||||
33
|
||||
34
|
||||
35
|
||||
36
|
||||
37
|
||||
38
|
||||
39
|
||||
40
|
||||
41
|
||||
42
|
||||
43
|
||||
44
|
||||
45
|
||||
46
|
||||
47
|
||||
48
|
||||
49
|
||||
50
|
||||
51
|
||||
52
|
||||
53
|
||||
54
|
||||
55
|
||||
56
|
||||
57
|
||||
58
|
||||
59
|
||||
60
|
||||
61
|
||||
62
|
||||
63
|
||||
64
|
||||
65
|
||||
66
|
||||
67
|
||||
68
|
||||
69
|
||||
70
|
||||
71
|
||||
72
|
||||
73
|
||||
74
|
||||
75
|
||||
76
|
||||
77
|
||||
78
|
||||
79
|
||||
80
|
||||
81
|
||||
82
|
||||
83
|
||||
84
|
||||
85
|
||||
86
|
||||
87
|
||||
88
|
||||
89
|
||||
90
|
||||
91
|
||||
92
|
||||
93
|
||||
94
|
||||
95
|
||||
96
|
||||
97
|
||||
98
|
||||
99
|
||||
100
|
100
tests/fixtures/sort/numeric6.txt
vendored
Normal file
100
tests/fixtures/sort/numeric6.txt
vendored
Normal file
|
@ -0,0 +1,100 @@
|
|||
33
|
||||
16
|
||||
35
|
||||
56
|
||||
72
|
||||
37
|
||||
21
|
||||
49
|
||||
70
|
||||
48
|
||||
90
|
||||
83
|
||||
44
|
||||
79
|
||||
10
|
||||
20
|
||||
4
|
||||
26
|
||||
27
|
||||
63
|
||||
29
|
||||
47
|
||||
51
|
||||
85
|
||||
88
|
||||
46
|
||||
30
|
||||
61
|
||||
93
|
||||
81
|
||||
78
|
||||
53
|
||||
87
|
||||
18
|
||||
98
|
||||
38
|
||||
13
|
||||
39
|
||||
23
|
||||
71
|
||||
5
|
||||
100
|
||||
96
|
||||
8
|
||||
24
|
||||
14
|
||||
28
|
||||
15
|
||||
25
|
||||
43
|
||||
36
|
||||
67
|
||||
75
|
||||
66
|
||||
31
|
||||
57
|
||||
34
|
||||
80
|
||||
40
|
||||
86
|
||||
17
|
||||
55
|
||||
9
|
||||
1
|
||||
62
|
||||
12
|
||||
74
|
||||
58
|
||||
69
|
||||
76
|
||||
11
|
||||
73
|
||||
68
|
||||
59
|
||||
41
|
||||
45
|
||||
52
|
||||
97
|
||||
82
|
||||
6
|
||||
7
|
||||
77
|
||||
42
|
||||
84
|
||||
95
|
||||
94
|
||||
89
|
||||
19
|
||||
64
|
||||
2
|
||||
22
|
||||
50
|
||||
60
|
||||
32
|
||||
92
|
||||
3
|
||||
99
|
||||
65
|
||||
54
|
||||
91
|
5
tests/fixtures/sum/alice_in_wonderland.txt
vendored
Normal file
5
tests/fixtures/sum/alice_in_wonderland.txt
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
Alice was beginning to get very tired of sitting by
|
||||
her sister on the bank, and of having nothing to do: once or twice
|
||||
she had peeped into the book her sister was reading, but it had no
|
||||
pictures or conversations in it, "and what is the use of a book,"
|
||||
thought Alice "without pictures or conversation?"
|
2
tests/fixtures/sum/bsd_multiple_files.expected
vendored
Normal file
2
tests/fixtures/sum/bsd_multiple_files.expected
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
8109 1 lorem_ipsum.txt
|
||||
1814 1 alice_in_wonderland.txt
|
1
tests/fixtures/sum/bsd_single_file.expected
vendored
Normal file
1
tests/fixtures/sum/bsd_single_file.expected
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
8109 1
|
1
tests/fixtures/sum/bsd_stdin.expected
vendored
Normal file
1
tests/fixtures/sum/bsd_stdin.expected
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
8109 1
|
13
tests/fixtures/sum/lorem_ipsum.txt
vendored
Normal file
13
tests/fixtures/sum/lorem_ipsum.txt
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
Lorem ipsum dolor sit amet, consectetur adipiscing
|
||||
elit. Nunc interdum suscipit sem vel ornare. Proin euismod, justo
|
||||
sed mollis dictum, eros urna ultricies augue, eu pharetra mi ex id
|
||||
ante. Duis convallis porttitor aliquam. Nunc vitae tincidunt ex.
|
||||
Suspendisse iaculis ligula ac diam consectetur lacinia. Donec vel
|
||||
velit dui. Etiam fringilla, dolor quis tempor vehicula, lacus
|
||||
turpis bibendum velit, et pellentesque elit odio a magna. Cras
|
||||
vulputate tortor non libero vehicula euismod. Aliquam tincidunt
|
||||
nisl eget enim cursus, viverra sagittis magna commodo. Cras rhoncus
|
||||
egestas leo nec blandit. Suspendisse potenti. Etiam ullamcorper
|
||||
leo vel lacus vestibulum, cursus semper eros efficitur. In hac
|
||||
habitasse platea dictumst. Phasellus scelerisque vehicula
|
||||
fringilla.
|
2
tests/fixtures/sum/sysv_multiple_files.expected
vendored
Normal file
2
tests/fixtures/sum/sysv_multiple_files.expected
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
6985 2 lorem_ipsum.txt
|
||||
27441 1 alice_in_wonderland.txt
|
1
tests/fixtures/sum/sysv_single_file.expected
vendored
Normal file
1
tests/fixtures/sum/sysv_single_file.expected
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
6985 2 lorem_ipsum.txt
|
1
tests/fixtures/sum/sysv_stdin.expected
vendored
Normal file
1
tests/fixtures/sum/sysv_stdin.expected
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
6985 2
|
1
tests/fixtures/tac/delimited_primes.expected
vendored
Normal file
1
tests/fixtures/tac/delimited_primes.expected
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
9789:83:79:73:71:67:61:59:53:47:43:41:37:31:29:23:19:17:13:11:7:5:3:2:
|
1
tests/fixtures/tac/delimited_primes.txt
vendored
Normal file
1
tests/fixtures/tac/delimited_primes.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
2:3:5:7:11:13:17:19:23:29:31:37:41:43:47:53:59:61:67:71:73:79:83:89:97
|
1
tests/fixtures/tac/delimited_primes_before.expected
vendored
Normal file
1
tests/fixtures/tac/delimited_primes_before.expected
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
97:89:83:79:73:71:67:61:59:53:47:43:41:37:31:29:23:19:17:13:11:7:5:3:2
|
25
tests/fixtures/tac/prime_per_line.expected
vendored
Normal file
25
tests/fixtures/tac/prime_per_line.expected
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
97
|
||||
89
|
||||
83
|
||||
79
|
||||
73
|
||||
71
|
||||
67
|
||||
61
|
||||
59
|
||||
53
|
||||
47
|
||||
43
|
||||
41
|
||||
37
|
||||
31
|
||||
29
|
||||
23
|
||||
19
|
||||
17
|
||||
13
|
||||
11
|
||||
7
|
||||
5
|
||||
3
|
||||
2
|
25
tests/fixtures/tac/prime_per_line.txt
vendored
Normal file
25
tests/fixtures/tac/prime_per_line.txt
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
2
|
||||
3
|
||||
5
|
||||
7
|
||||
11
|
||||
13
|
||||
17
|
||||
19
|
||||
23
|
||||
29
|
||||
31
|
||||
37
|
||||
41
|
||||
43
|
||||
47
|
||||
53
|
||||
59
|
||||
61
|
||||
67
|
||||
71
|
||||
73
|
||||
79
|
||||
83
|
||||
89
|
||||
97
|
17
tests/fixtures/tsort/call_graph.expected
vendored
Normal file
17
tests/fixtures/tsort/call_graph.expected
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
main
|
||||
parse_options
|
||||
tail_file
|
||||
tail_forever
|
||||
tail
|
||||
recheck
|
||||
write_header
|
||||
tail_lines
|
||||
tail_bytes
|
||||
pretty_name
|
||||
start_lines
|
||||
file_lines
|
||||
pipe_lines
|
||||
xlseek
|
||||
start_bytes
|
||||
pipe_bytes
|
||||
dump_remainder
|
22
tests/fixtures/tsort/call_graph.txt
vendored
Normal file
22
tests/fixtures/tsort/call_graph.txt
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
main parse_options
|
||||
main tail_file
|
||||
main tail_forever
|
||||
tail_file pretty_name
|
||||
tail_file write_header
|
||||
tail_file tail
|
||||
tail_forever recheck
|
||||
tail_forever pretty_name
|
||||
tail_forever write_header
|
||||
tail_forever dump_remainder
|
||||
tail tail_lines
|
||||
tail tail_bytes
|
||||
tail_lines start_lines
|
||||
tail_lines dump_remainder
|
||||
tail_lines file_lines
|
||||
tail_lines pipe_lines
|
||||
tail_bytes xlseek
|
||||
tail_bytes start_bytes
|
||||
tail_bytes dump_remainder
|
||||
tail_bytes pipe_bytes
|
||||
file_lines dump_remainder
|
||||
recheck pretty_name
|
5
tests/fixtures/wc/alice_in_wonderland.txt
vendored
Normal file
5
tests/fixtures/wc/alice_in_wonderland.txt
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
Alice was beginning to get very tired of sitting by
|
||||
her sister on the bank, and of having nothing to do: once or twice
|
||||
she had peeped into the book her sister was reading, but it had no
|
||||
pictures or conversations in it, "and what is the use of a book,"
|
||||
thought Alice "without pictures or conversation?"
|
13
tests/fixtures/wc/lorem_ipsum.txt
vendored
Normal file
13
tests/fixtures/wc/lorem_ipsum.txt
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
Lorem ipsum dolor sit amet, consectetur adipiscing
|
||||
elit. Nunc interdum suscipit sem vel ornare. Proin euismod, justo
|
||||
sed mollis dictum, eros urna ultricies augue, eu pharetra mi ex id
|
||||
ante. Duis convallis porttitor aliquam. Nunc vitae tincidunt ex.
|
||||
Suspendisse iaculis ligula ac diam consectetur lacinia. Donec vel
|
||||
velit dui. Etiam fringilla, dolor quis tempor vehicula, lacus
|
||||
turpis bibendum velit, et pellentesque elit odio a magna. Cras
|
||||
vulputate tortor non libero vehicula euismod. Aliquam tincidunt
|
||||
nisl eget enim cursus, viverra sagittis magna commodo. Cras rhoncus
|
||||
egestas leo nec blandit. Suspendisse potenti. Etiam ullamcorper
|
||||
leo vel lacus vestibulum, cursus semper eros efficitur. In hac
|
||||
habitasse platea dictumst. Phasellus scelerisque vehicula
|
||||
fringilla.
|
18
tests/fixtures/wc/moby_dick.txt
vendored
Normal file
18
tests/fixtures/wc/moby_dick.txt
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
Call me Ishmael. Some years ago - never mind how long
|
||||
precisely - having little or no money in my purse, and nothing
|
||||
particular to interest me on shore, I thought I would sail about a
|
||||
little and see the watery part of the world. It is a way I have of
|
||||
driving off the spleen and regulating the circulation. Whenever I
|
||||
find myself growing grim about the mouth; whenever it is a damp,
|
||||
drizzly November in my soul; whenever I find myself involuntarily
|
||||
pausing before coffin warehouses, and bringing up the rear of every
|
||||
funeral I meet; and especially whenever my hypos get such an upper
|
||||
hand of me, that it requires a strong moral principle to prevent me
|
||||
from deliberately stepping into the street, and methodically
|
||||
knocking people's hats off - then, I account it high time to get to
|
||||
sea as soon as I can. This is my substitute for pistol and ball.
|
||||
With a philosophical flourish Cato throws himself upon his sword; I
|
||||
quietly take to the ship. There is nothing surprising in this. If
|
||||
they but knew it, almost all men in their degree, some time or
|
||||
other, cherish very nearly the same feelings towards the ocean with
|
||||
me.
|
Loading…
Add table
Add a link
Reference in a new issue