diff options
author | Jim Meyering <jim@meyering.net> | 1998-07-26 04:06:37 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-07-26 04:06:37 +0000 |
commit | 5c4cb177efd8b83fdf333f1a054cc76b89f21339 (patch) | |
tree | 2ff5e425ddd15fdf8f8a211a30034e5856c9e00f /tests/cut | |
parent | 71a3fc7989cb6067c52083a305cdc700b2453f72 (diff) | |
download | coreutils-5c4cb177efd8b83fdf333f1a054cc76b89f21339.tar.xz |
Add tests for new --output-delimiter option,
as well as for NUL input delimiter (--delimiter='').
Diffstat (limited to 'tests/cut')
-rwxr-xr-x | tests/cut/Test.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cut/Test.pm b/tests/cut/Test.pm index fc6893fc3..2e6399c5d 100755 --- a/tests/cut/Test.pm +++ b/tests/cut/Test.pm @@ -64,6 +64,11 @@ my @tv = ( ['empty-f2', '-f2', "", "", 0], +['o-delim', '-d: -f2,3 --out=_', "a:b:c\n", "b_c\n", 0], +['nul-idelim', "-d '' -f2,3 --out=_", "a\0b\0c\n", "b_c\n", 0], +['nul-odelim', "-d: -f2,3 --out=", "a:b:c\n", "b\0c\n", 0], +['multichar-od', "-d: -f2,3 --out=_._", "a:b:c\n", "b_._c\n", 0], + ); sub test_vector |