]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(cut_fields): Detect when the input is empty and handle
authorJim Meyering <jim@meyering.net>
Sat, 14 Jun 1997 17:31:40 +0000 (17:31 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 14 Jun 1997 17:31:40 +0000 (17:31 +0000)
commit2f1768f67675dc38f54b20c0122ec1f2944a994d
treefad6361177f7898a38630909c1a73139bd36b290
parent4f0bef5377ff8b9f0d664ff2f4f8347e5ab00584
(cut_fields): Detect when the input is empty and handle
that special case.  Before `cut -f1 </dev/null' would improperly
output a single newline.  Reported by Phil Richards.
src/cut.c