From f91b7c89bc852868692b9518185421ebb52d67b3 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 25 Aug 2012 18:08:51 -0500 Subject: Regularize command headers, update links to standards documents. --- toys/posix/cat.c | 2 +- toys/posix/chgrp.c | 4 ++-- toys/posix/chmod.c | 3 +-- toys/posix/cksum.c | 2 +- toys/posix/cmp.c | 2 +- toys/posix/comm.c | 2 +- toys/posix/cp.c | 2 +- toys/posix/date.c | 2 +- toys/posix/df.c | 2 +- toys/posix/echo.c | 2 +- toys/posix/env.c | 3 ++- toys/posix/false.c | 2 +- toys/posix/head.c | 2 +- toys/posix/id.c | 2 +- toys/posix/ln.c | 2 +- toys/posix/logname.c | 2 +- toys/posix/ls.c | 2 +- toys/posix/mkdir.c | 2 +- toys/posix/mkfifo.c | 2 +- toys/posix/nice.c | 2 +- toys/posix/od.c | 2 +- toys/posix/patch.c | 2 +- toys/posix/pwd.c | 2 +- toys/posix/sed.c | 2 +- toys/posix/sh.c | 4 ++-- toys/posix/sleep.c | 2 +- toys/posix/sort.c | 2 +- toys/posix/tail.c | 2 +- toys/posix/tee.c | 2 +- toys/posix/true.c | 2 +- toys/posix/uname.c | 2 +- toys/posix/uniq.c | 2 +- toys/posix/who.c | 2 +- 33 files changed, 36 insertions(+), 36 deletions(-) (limited to 'toys/posix') 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 * - * 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 * - * 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 * - * 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 * - * 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 * - * 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 * - * 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 * - * 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 * - * 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 * - * 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 * - * 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 - * 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 * - * 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 * - * 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 * - * 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 * - * 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 * - * 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 * Copyright 2012 Rob Landley * - * 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 * - * 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 * - * 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 * - * 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 * Copyright 2012 Rob Landley * - * 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 * - * 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 * - * 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 * - * 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 * * 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 * Copyright 2012 Georgi Chorbadzhiyski * - * 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 * - * 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 * - * 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 * - * 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 * - * 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 * - * 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 * - * 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 * - * 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)) -- cgit v1.2.3