]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(complement, COMPLEMENT_OPTION): New.
authorJim Meyering <jim@meyering.net>
Sat, 4 Dec 2004 13:32:48 +0000 (13:32 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 4 Dec 2004 13:32:48 +0000 (13:32 +0000)
commit7380cf792aa35b9328519c5f374036d5260704cb
treec910a8b2487b135f3166c3012fe451d47cdd56d2
parent4dd208a3727a71aaf7d1e04465db3e9f7b301c3e
(complement, COMPLEMENT_OPTION): New.
(longopts): Add --complement.
(usage): Say not that -b, -c, and -f `print' fields,
but rather that they `select' fields for printing.
Describe the new --complement option.
(mark_range_start): Extracted from set_fields.
(print_kth): Support --complement.
(compare_ranges): New function.
(set_fields): Rewrite the part that populates range_start_ht,
merging it with the part that populates printable_field.
(main): Handle --complement.

From Paolo Bonzini.
src/cut.c