diff options
author | Jim Meyering <jim@meyering.net> | 2003-01-09 20:16:58 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-01-09 20:16:58 +0000 |
commit | 322ee6e302ba71e69b4a7f7ef70b7e5e7392d428 (patch) | |
tree | 66ba3d3eb45a18a86564f5dcc89bc05ab2779894 /tests/cut/Test.pm | |
parent | ba5be82b7eef33bcda397962de6b28193a912607 (diff) | |
download | coreutils-322ee6e302ba71e69b4a7f7ef70b7e5e7392d428.tar.xz |
When selecting ranges of byte offsets (as opposed to ranges of fields)
and when --output-delimiter=STRING is specified, output STRING between
ranges of selected bytes.
(RANGE_START_SENTINEL): Define.
(output_delimiter_specified): New global.
(print_kth): Add parameter. Adjust all callers.
(set_fields): Mark each range-start index with RANGE_START_SENTINEL.
(cut_bytes): When requested, output STRING between ranges of
selected bytes.
(main): Make a diagnostic a little clearer.
Based on a patch from Jan Nieuwenhuizen.
Diffstat (limited to 'tests/cut/Test.pm')
0 files changed, 0 insertions, 0 deletions