aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-05-31 05:11:28 -0500
committerRob Landley <rob@landley.net>2015-05-31 12:12:35 -0500
commitf033f8607f156464747abe57487c1f6226f94001 (patch)
treea6df1d5b20e886662c29dd422fcef344f12955d5 /toys/posix
parent42cc29c7883c852462c6c740c72eff06bca8accc (diff)
downloadtoybox-f033f8607f156464747abe57487c1f6226f94001.tar.gz
Move the magic list of commands needing cleanup from toys/pending/README
to greppable TODO annotations in the individual files. (grep -riw TODO)
Diffstat (limited to 'toys/posix')
-rw-r--r--toys/posix/cut.c4
-rw-r--r--toys/posix/du.c2
-rw-r--r--toys/posix/touch.c4
-rw-r--r--toys/posix/xargs.c2
4 files changed, 10 insertions, 2 deletions
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 <ranjankumar.bth@gmail.com>
* Copyright 2012 Kyungwan Han <asura321@gmail.com>
*
- * 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 <ak.ashwini@gmail.com>
*
* 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 <warior.linux@gmail.com>
*
- * 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 <rob@landley.net>
*
* 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))