aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-08-25 18:08:51 -0500
committerRob Landley <rob@landley.net>2012-08-25 18:08:51 -0500
commitf91b7c89bc852868692b9518185421ebb52d67b3 (patch)
tree6b8f19c9c5b0a517d3686802a894a8640b589123 /toys/posix
parent58b7d96e1d6157062b4f4f14b8e968451c026af3 (diff)
downloadtoybox-f91b7c89bc852868692b9518185421ebb52d67b3.tar.gz
Regularize command headers, update links to standards documents.
Diffstat (limited to 'toys/posix')
-rw-r--r--toys/posix/cat.c2
-rw-r--r--toys/posix/chgrp.c4
-rw-r--r--toys/posix/chmod.c3
-rw-r--r--toys/posix/cksum.c2
-rw-r--r--toys/posix/cmp.c2
-rw-r--r--toys/posix/comm.c2
-rw-r--r--toys/posix/cp.c2
-rw-r--r--toys/posix/date.c2
-rw-r--r--toys/posix/df.c2
-rw-r--r--toys/posix/echo.c2
-rw-r--r--toys/posix/env.c3
-rw-r--r--toys/posix/false.c2
-rw-r--r--toys/posix/head.c2
-rw-r--r--toys/posix/id.c2
-rw-r--r--toys/posix/ln.c2
-rw-r--r--toys/posix/logname.c2
-rw-r--r--toys/posix/ls.c2
-rw-r--r--toys/posix/mkdir.c2
-rw-r--r--toys/posix/mkfifo.c2
-rw-r--r--toys/posix/nice.c2
-rw-r--r--toys/posix/od.c2
-rw-r--r--toys/posix/patch.c2
-rw-r--r--toys/posix/pwd.c2
-rw-r--r--toys/posix/sed.c2
-rw-r--r--toys/posix/sh.c4
-rw-r--r--toys/posix/sleep.c2
-rw-r--r--toys/posix/sort.c2
-rw-r--r--toys/posix/tail.c2
-rw-r--r--toys/posix/tee.c2
-rw-r--r--toys/posix/true.c2
-rw-r--r--toys/posix/uname.c2
-rw-r--r--toys/posix/uniq.c2
-rw-r--r--toys/posix/who.c2
33 files changed, 36 insertions, 36 deletions
diff --git a/toys/posix/cat.c b/toys/posix/cat.c
index 81bfcafd..160bd6ff 100644
--- a/toys/posix/cat.c
+++ b/toys/posix/cat.c
@@ -4,7 +4,7 @@
*
* Copyright 2006 Rob Landley <rob@landley.net>
*
- * See http://www.opengroup.org/onlinepubs/009695399/utilities/cat.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/cat.html
USE_CAT(NEWTOY(cat, "u", TOYFLAG_BIN))
diff --git a/toys/posix/chgrp.c b/toys/posix/chgrp.c
index ad4e351a..892e78d7 100644
--- a/toys/posix/chgrp.c
+++ b/toys/posix/chgrp.c
@@ -4,8 +4,8 @@
*
* Copyright 2012 Georgi Chorbadzhiyski <georgi@unixsol.org>
*
- * See http://pubs.opengroup.org/onlinepubs/009695399/utilities/chown.html
- * See http://pubs.opengroup.org/onlinepubs/009695399/utilities/chgrp.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/chown.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/chgrp.html
*
* TODO: group only one of [HLP]
diff --git a/toys/posix/chmod.c b/toys/posix/chmod.c
index e41598c1..2a32db10 100644
--- a/toys/posix/chmod.c
+++ b/toys/posix/chmod.c
@@ -4,8 +4,7 @@
*
* Copyright 2012 Rob Landley <rob@landley.net>
*
- * See http://pubs.opengroup.org/onlinepubs/009695399/utilities/chmod.html
- *
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/chmod.html
USE_CHMOD(NEWTOY(chmod, "<2?vR", TOYFLAG_BIN))
diff --git a/toys/posix/cksum.c b/toys/posix/cksum.c
index 213bc74a..f0aedfd0 100644
--- a/toys/posix/cksum.c
+++ b/toys/posix/cksum.c
@@ -4,7 +4,7 @@
*
* Copyright 2008 Rob Landley <rob@landley.net>
*
- * See http://www.opengroup.org/onlinepubs/009695399/utilities/cksum.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/cksum.html
USE_CKSUM(NEWTOY(cksum, "IPLN", TOYFLAG_BIN))
diff --git a/toys/posix/cmp.c b/toys/posix/cmp.c
index 0afca381..c41f98b8 100644
--- a/toys/posix/cmp.c
+++ b/toys/posix/cmp.c
@@ -4,7 +4,7 @@
*
* Copyright 2012 Timothy Elliott <tle@holymonkey.com>
*
- * See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cmp.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/cmp.html
USE_CMP(NEWTOY(cmp, "<2>2ls", TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/posix/comm.c b/toys/posix/comm.c
index 1c2267ac..761a62b2 100644
--- a/toys/posix/comm.c
+++ b/toys/posix/comm.c
@@ -4,7 +4,7 @@
*
* Copyright 2012 Ilya Kuzmich <ikv@safe-mail.net>
*
- * See http://pubs.opengroup.org/onlinepubs/009695399/utilities/comm.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/comm.html
// <# and ># take single digit, so 321 define flags
USE_COMM(NEWTOY(comm, "<2>2321", TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/posix/cp.c b/toys/posix/cp.c
index bc922b3d..232d8fab 100644
--- a/toys/posix/cp.c
+++ b/toys/posix/cp.c
@@ -4,7 +4,7 @@
*
* Copyright 2008 Rob Landley <rob@landley.net>
*
- * See http://www.opengroup.org/onlinepubs/009695399/utilities/cp.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/cp.html
*
* "R+ra+d+p+r"
USE_CP(NEWTOY(cp, "<2vslrRdpaHLPif", TOYFLAG_BIN))
diff --git a/toys/posix/date.c b/toys/posix/date.c
index 925565a2..07d8c1d6 100644
--- a/toys/posix/date.c
+++ b/toys/posix/date.c
@@ -4,7 +4,7 @@
*
* Copyright 2012 Andre Renaud <andre@bluewatersys.com>
*
- * See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/date.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/date.html
USE_DATE(NEWTOY(date, "r:u", TOYFLAG_BIN))
diff --git a/toys/posix/df.c b/toys/posix/df.c
index 72c15195..e889907d 100644
--- a/toys/posix/df.c
+++ b/toys/posix/df.c
@@ -4,7 +4,7 @@
*
* Copyright 2006 Rob Landley <rob@landley.net>
*
- * See http://www.opengroup.org/onlinepubs/009695399/utilities/df.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/df.html
USE_DF(NEWTOY(df, "Pkt*a", TOYFLAG_USR|TOYFLAG_SBIN))
diff --git a/toys/posix/echo.c b/toys/posix/echo.c
index 6fb9e43d..576cad70 100644
--- a/toys/posix/echo.c
+++ b/toys/posix/echo.c
@@ -4,7 +4,7 @@
*
* Copyright 2007 Rob Landley <rob@landley.net>
*
- * See http://www.opengroup.org/onlinepubs/009695399/utilities/echo.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/echo.html
USE_ECHO(NEWTOY(echo, "^?en", TOYFLAG_BIN))
diff --git a/toys/posix/env.c b/toys/posix/env.c
index 7cda85f9..4427d01e 100644
--- a/toys/posix/env.c
+++ b/toys/posix/env.c
@@ -3,7 +3,8 @@
* env.c - Set the environment for command invocation.
*
* Copyright 2012 Tryn Mirell <tryn@mirell.org>
- * env.c
+ *
+ * http://opengroup.org/onlinepubs/9699919799/utilities/env.html
USE_ENV(NEWTOY(env, "^i", TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/posix/false.c b/toys/posix/false.c
index 7b570bd2..7208ea7a 100644
--- a/toys/posix/false.c
+++ b/toys/posix/false.c
@@ -4,7 +4,7 @@
*
* Copyright 2007 Rob Landley <rob@landley.net>
*
- * See http://www.opengroup.org/onlinepubs/009695399/utilities/false.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/false.html
USE_FALSE(NEWTOY(false, NULL, TOYFLAG_BIN))
diff --git a/toys/posix/head.c b/toys/posix/head.c
index 1d1e54a3..a7271cd5 100644
--- a/toys/posix/head.c
+++ b/toys/posix/head.c
@@ -4,7 +4,7 @@
*
* Copyright 2006 Timothy Elliott <tle@holymonkey.com>
*
- * See http://www.opengroup.org/onlinepubs/009695399/utilities/head.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/head.html
USE_HEAD(NEWTOY(head, "n#<0=10", TOYFLAG_BIN))
diff --git a/toys/posix/id.c b/toys/posix/id.c
index 973cda5a..d93bc2bc 100644
--- a/toys/posix/id.c
+++ b/toys/posix/id.c
@@ -6,7 +6,7 @@
*
* by Tim Bird <tim.bird@am.sony.com>
*
- * See http://www.opengroup.org/onlinepubs/009695399/utilities/id.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/id.html
USE_ID(NEWTOY(id, "nGgru", TOYFLAG_BIN))
diff --git a/toys/posix/ln.c b/toys/posix/ln.c
index 6f55971a..ec3317d2 100644
--- a/toys/posix/ln.c
+++ b/toys/posix/ln.c
@@ -4,7 +4,7 @@
*
* Copyright 2012 Andre Renaud <andre@bluewatersys.com>
*
- * See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ln.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/ln.html
USE_LN(NEWTOY(ln, "<1nfs", TOYFLAG_BIN))
diff --git a/toys/posix/logname.c b/toys/posix/logname.c
index b93e3366..65994d20 100644
--- a/toys/posix/logname.c
+++ b/toys/posix/logname.c
@@ -4,7 +4,7 @@
*
* Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
*
- * See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/logname.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/logname.html
USE_LOGNAME(NEWTOY(logname, ">0", TOYFLAG_BIN))
diff --git a/toys/posix/ls.c b/toys/posix/ls.c
index 1881df71..d6671923 100644
--- a/toys/posix/ls.c
+++ b/toys/posix/ls.c
@@ -5,7 +5,7 @@
* Copyright 2012 Andre Renaud <andre@bluewatersys.com>
* Copyright 2012 Rob Landley <rob@landley.net>
*
- * See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ls.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/ls.html
// "[-Cl]"
USE_LS(NEWTOY(ls, "goACFHLRSacdfiklmnpqrstux1", TOYFLAG_BIN))
diff --git a/toys/posix/mkdir.c b/toys/posix/mkdir.c
index 90329019..c3bbb636 100644
--- a/toys/posix/mkdir.c
+++ b/toys/posix/mkdir.c
@@ -4,7 +4,7 @@
*
* Copyright 2012 Georgi Chorbadzhiyski <georgi@unixsol.org>
*
- * See http://pubs.opengroup.org/onlinepubs/009695399/utilities/mkdir.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/mkdir.html
*
* TODO: Add -m
diff --git a/toys/posix/mkfifo.c b/toys/posix/mkfifo.c
index ab466fc3..e5c15389 100644
--- a/toys/posix/mkfifo.c
+++ b/toys/posix/mkfifo.c
@@ -4,7 +4,7 @@
*
* Copyright 2012 Georgi Chorbadzhiyski <georgi@unixsol.org>
*
- * See http://pubs.opengroup.org/onlinepubs/009695399/utilities/mkfifo.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/mkfifo.html
*
* TODO: Add -m
diff --git a/toys/posix/nice.c b/toys/posix/nice.c
index 84975dfc..4f522aa7 100644
--- a/toys/posix/nice.c
+++ b/toys/posix/nice.c
@@ -4,7 +4,7 @@
*
* Copyright 2010 Rob Landley <rob@landley.net>
*
- * See http://www.opengroup.org/onlinepubs/9699919799/utilities/nice.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/nice.html
USE_NICE(NEWTOY(nice, "^<1n#", TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/posix/od.c b/toys/posix/od.c
index dfde4440..3c84cb51 100644
--- a/toys/posix/od.c
+++ b/toys/posix/od.c
@@ -5,7 +5,7 @@
* Copyright 2012 Andre Renaud <andre@bluewatersys.com>
* Copyright 2012 Rob Landley <rob@landley.net>
*
- * See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/od.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/od.html
USE_OD(NEWTOY(od, "j#vN#xsodcbA:t*", TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/posix/patch.c b/toys/posix/patch.c
index 647bb18f..eb7849d4 100644
--- a/toys/posix/patch.c
+++ b/toys/posix/patch.c
@@ -4,7 +4,7 @@
*
* Copyright 2007 Rob Landley <rob@landley.net>
*
- * see http://www.opengroup.org/onlinepubs/009695399/utilities/patch.html
+ * see http://opengroup.org/onlinepubs/9699919799/utilities/patch.html
* (But only does -u, because who still cares about "ed"?)
*
* TODO:
diff --git a/toys/posix/pwd.c b/toys/posix/pwd.c
index d84c504a..d5a3bb69 100644
--- a/toys/posix/pwd.c
+++ b/toys/posix/pwd.c
@@ -4,7 +4,7 @@
*
* Copyright 2006 Rob Landley <rob@landley.net>
*
- * See http://www.opengroup.org/onlinepubs/009695399/utilities/echo.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/echo.html
*
* TODO: add -L -P
diff --git a/toys/posix/sed.c b/toys/posix/sed.c
index c4eb1a44..4097585e 100644
--- a/toys/posix/sed.c
+++ b/toys/posix/sed.c
@@ -4,7 +4,7 @@
*
* Copyright 2008 Rob Landley <rob@landley.net>
*
- * See http://www.opengroup.org/onlinepubs/009695399/utilities/sed.c
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/sed.c
USE_SED(NEWTOY(sed, "irne*", TOYFLAG_BIN))
diff --git a/toys/posix/sh.c b/toys/posix/sh.c
index d26eb44b..7bf86025 100644
--- a/toys/posix/sh.c
+++ b/toys/posix/sh.c
@@ -5,8 +5,8 @@
* Copyright 2006 Rob Landley <rob@landley.net>
*
* The POSIX-2008/SUSv4 spec for this is at:
- * http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
- * and http://www.opengroup.org/onlinepubs/9699919799/utilities/sh.html
+ * http://opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
+ * and http://opengroup.org/onlinepubs/9699919799/utilities/sh.html
*
* The first link describes the following shell builtins:
*
diff --git a/toys/posix/sleep.c b/toys/posix/sleep.c
index ef6d827b..c544e0ac 100644
--- a/toys/posix/sleep.c
+++ b/toys/posix/sleep.c
@@ -5,7 +5,7 @@
* Copyright 2007 Rob Landley <rob@landley.net>
* Copyright 2012 Georgi Chorbadzhiyski <georgi@unixsol.org>
*
- * See http://www.opengroup.org/onlinepubs/009695399/utilities/sleep.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/sleep.html
USE_SLEEP(NEWTOY(sleep, "<1", TOYFLAG_BIN))
diff --git a/toys/posix/sort.c b/toys/posix/sort.c
index 07a57163..27aeb777 100644
--- a/toys/posix/sort.c
+++ b/toys/posix/sort.c
@@ -4,7 +4,7 @@
*
* Copyright 2004, 2008 Rob Landley <rob@landley.net>
*
- * See http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
+ * See http://opengroup.org/onlinepubs/007904975/utilities/sort.html
USE_SORT(NEWTOY(sort, USE_SORT_FLOAT("g")USE_SORT_BIG("S:T:m" "o:k*t:xbMcszdfi") "run", TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/posix/tail.c b/toys/posix/tail.c
index 8783d6ba..83a47674 100644
--- a/toys/posix/tail.c
+++ b/toys/posix/tail.c
@@ -4,7 +4,7 @@
*
* Copyright 2012 Timothy Elliott <tle@holymonkey.com>
*
- * See http://www.opengroup.org/onlinepubs/009695399/utilities/tail.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/tail.html
USE_TAIL(NEWTOY(tail, "fc-n-", TOYFLAG_BIN))
diff --git a/toys/posix/tee.c b/toys/posix/tee.c
index c11fb5c4..15a40fe7 100644
--- a/toys/posix/tee.c
+++ b/toys/posix/tee.c
@@ -4,7 +4,7 @@
*
* Copyright 2008 Rob Landley <rob@landley.net>
*
- * See http://www.opengroup.org/onlinepubs/009695399/utilities/tee.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/tee.html
USE_TEE(NEWTOY(tee, "ia", TOYFLAG_BIN))
diff --git a/toys/posix/true.c b/toys/posix/true.c
index 582b2cae..e2e7ea62 100644
--- a/toys/posix/true.c
+++ b/toys/posix/true.c
@@ -4,7 +4,7 @@
*
* Copyright 2007 Rob Landley <rob@landley.net>
*
- * See http://www.opengroup.org/onlinepubs/009695399/utilities/true.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/true.html
USE_TRUE(NEWTOY(true, NULL, TOYFLAG_BIN))
diff --git a/toys/posix/uname.c b/toys/posix/uname.c
index 185d633e..c1f2b490 100644
--- a/toys/posix/uname.c
+++ b/toys/posix/uname.c
@@ -4,7 +4,7 @@
*
* Copyright 2008 Rob Landley <rob@landley.net>
*
- * See http://www.opengroup.org/onlinepubs/009695399/utilities/uname.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/uname.html
USE_UNAME(NEWTOY(uname, "amvrns", TOYFLAG_BIN))
diff --git a/toys/posix/uniq.c b/toys/posix/uniq.c
index c16c08f1..1418904a 100644
--- a/toys/posix/uniq.c
+++ b/toys/posix/uniq.c
@@ -4,7 +4,7 @@
*
* Copyright 2012 Georgi Chorbadzhiyski <georgi@unixsol.org>
*
- * See http://www.opengroup.org/onlinepubs/009695399/utilities/uniq.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/uniq.html
USE_UNIQ(NEWTOY(uniq, "f#s#w#zicdu", TOYFLAG_BIN))
diff --git a/toys/posix/who.c b/toys/posix/who.c
index d407c6b2..5f888d71 100644
--- a/toys/posix/who.c
+++ b/toys/posix/who.c
@@ -6,7 +6,7 @@
*
* by Luis Felipe Strano Moraes <lfelipe@profusion.mobi>
*
- * See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/who.html
+ * See http://opengroup.org/onlinepubs/9699919799/utilities/who.html
USE_WHO(NEWTOY(who, NULL, TOYFLAG_BIN))