summaryrefslogtreecommitdiff
path: root/po
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 /po
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 'po')
-rw-r--r--po/POTFILES.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index abec10961..b3fe66866 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -109,6 +109,7 @@ src/rmdir.c
src/runcon.c
src/selinux.c
src/seq.c
+src/set-fields.c
src/shred.c
src/shuf.c
src/sleep.c