summaryrefslogtreecommitdiff
path: root/src/extract-magic
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2013-01-22 01:34:07 +0000
committerPádraig Brady <P@draigBrady.com>2013-01-26 02:31:59 +0000
commitd302aed182d625281fba87aca3cb513882aa967b (patch)
treeba7fffb25d51deb1632cebc17456152cd047d329 /src/extract-magic
parent51ce0bf8440e18de34586003b1a5d7f568fbf636 (diff)
downloadcoreutils-d302aed182d625281fba87aca3cb513882aa967b.tar.xz
cut: fix -f to work with the -d$'\n' edge case
* src/cut.c (cut_fields): Handle the edge case where '\n' is the delimiter, which could be used for example to suppress the last line if it doesn't contain a '\n'. * test/misc/cut.pl: Add tests for this edge case.
Diffstat (limited to 'src/extract-magic')
0 files changed, 0 insertions, 0 deletions