summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2015-07-17 23:30:30 -0400
committerAssaf Gordon <assafgordon@gmail.com>2015-09-12 02:27:32 +0000
commitbd1bc2b3fe1c87744cc251334cc1c804075b027c (patch)
tree5baeb6bacf915762980ff3e87cd4f203814ffc28 /doc
parent5bbdcd2a02d9686edb788c46fc953192acdc6796 (diff)
downloadcoreutils-bd1bc2b3fe1c87744cc251334cc1c804075b027c.tar.xz
cut: refactor into set-fields module
Extract the functionality of parsing --field=LIST into a separate module, to be used by other programs. * src/cut.c: move field parsing code from here ... * src/set-fields.{c,h}: ... to here. (set_fields): generalize by supporting multiple parsing/reporting options. (struct range_pair): rename to field_range_pair. * src/local.mk: link cut with set-field. * po/POTFILES.in: add set-field.c * tests/misc/cut.pl: update wording of error messages
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions