From f033f8607f156464747abe57487c1f6226f94001 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 31 May 2015 05:11:28 -0500 Subject: Move the magic list of commands needing cleanup from toys/pending/README to greppable TODO annotations in the individual files. (grep -riw TODO) --- toys/posix/cut.c | 4 +++- toys/posix/du.c | 2 ++ toys/posix/touch.c | 4 +++- toys/posix/xargs.c | 2 ++ 4 files changed, 10 insertions(+), 2 deletions(-) (limited to 'toys/posix') diff --git a/toys/posix/cut.c b/toys/posix/cut.c index ca014aea..bb2b22d4 100644 --- a/toys/posix/cut.c +++ b/toys/posix/cut.c @@ -3,7 +3,9 @@ * Copyright 2012 Ranjan Kumar * Copyright 2012 Kyungwan Han * - * http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cut.html + * http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cut.html + * + * TODO: cleanup USE_CUT(NEWTOY(cut, "b:|c:|f:|d:sn[!cbf]", TOYFLAG_USR|TOYFLAG_BIN)) diff --git a/toys/posix/du.c b/toys/posix/du.c index c72019e2..43029973 100644 --- a/toys/posix/du.c +++ b/toys/posix/du.c @@ -3,6 +3,8 @@ * Copyright 2012 Ashwini Kumar * * See http://opengroup.org/onlinepubs/9699919799/utilities/du.html + * + * TODO: cleanup USE_DU(NEWTOY(du, "d#<0hmlcaHkKLsx[-HL][-kKmh]", TOYFLAG_USR|TOYFLAG_BIN)) diff --git a/toys/posix/touch.c b/toys/posix/touch.c index bf96b793..c5ebbabf 100644 --- a/toys/posix/touch.c +++ b/toys/posix/touch.c @@ -2,7 +2,9 @@ * * Copyright 2012 Choubey Ji * - * See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/touch.html + * See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/touch.html + * + * TODO: have another go at merging the -t and -d stanzas USE_TOUCH(NEWTOY(touch, "acd:mr:t:h[!dtr]", TOYFLAG_BIN)) diff --git a/toys/posix/xargs.c b/toys/posix/xargs.c index cde71f61..8178bf0c 100644 --- a/toys/posix/xargs.c +++ b/toys/posix/xargs.c @@ -3,6 +3,8 @@ * Copyright 2011 Rob Landley * * See http://opengroup.org/onlinepubs/9699919799/utilities/xargs.html + * + * TODO: Rich's whitespace objection, env size isn't fixed anymore. USE_XARGS(NEWTOY(xargs, "^I:E:L#ptxrn#<1s#0", TOYFLAG_USR|TOYFLAG_BIN)) -- cgit v1.2.3