aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
Diffstat (limited to 'toys')
-rw-r--r--toys/lsb/dmesg.c2
-rw-r--r--toys/lsb/hostname.c2
-rw-r--r--toys/lsb/killall.c2
-rw-r--r--toys/lsb/mknod.c2
-rw-r--r--toys/lsb/mktemp.c2
-rw-r--r--toys/lsb/passwd.c2
-rw-r--r--toys/lsb/pidof.c2
-rw-r--r--toys/lsb/seq.c2
-rw-r--r--toys/lsb/sync.c2
-rw-r--r--toys/other/bzcat.c2
-rw-r--r--toys/other/catv.c2
-rw-r--r--toys/other/chroot.c2
-rw-r--r--toys/other/chvt.c2
-rw-r--r--toys/other/clear.c2
-rw-r--r--toys/other/count.c2
-rw-r--r--toys/other/dos2unix.c2
-rw-r--r--toys/other/free.c2
-rw-r--r--toys/other/hello.c3
-rw-r--r--toys/other/help.c4
-rw-r--r--toys/other/insmod.c2
-rw-r--r--toys/other/login.c1
-rw-r--r--toys/other/lsmod.c2
-rw-r--r--toys/other/mdev.c4
-rw-r--r--toys/other/mke2fs.c2
-rw-r--r--toys/other/mkswap.c2
-rw-r--r--toys/other/mountpoint.c2
-rw-r--r--toys/other/netcat.c6
-rw-r--r--toys/other/oneit.c4
-rw-r--r--toys/other/printenv.c1
-rw-r--r--toys/other/readlink.c2
-rw-r--r--toys/other/realpath.c2
-rw-r--r--toys/other/rmmod.c2
-rw-r--r--toys/other/setsid.c2
-rw-r--r--toys/other/sha1sum.c2
-rw-r--r--toys/other/swapoff.c2
-rw-r--r--toys/other/swapon.c2
-rw-r--r--toys/other/tac.c2
-rw-r--r--toys/other/taskset.c2
-rw-r--r--toys/other/truncate.c2
-rw-r--r--toys/other/unshare.c2
-rw-r--r--toys/other/uptime.c2
-rw-r--r--toys/other/usleep.c2
-rw-r--r--toys/other/vmstat.c2
-rw-r--r--toys/other/w.c2
-rw-r--r--toys/other/which.c2
-rw-r--r--toys/other/whoami.c1
-rw-r--r--toys/other/yes.c2
-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
80 files changed, 53 insertions, 121 deletions
diff --git a/toys/lsb/dmesg.c b/toys/lsb/dmesg.c
index 95b023d6..e54a9e11 100644
--- a/toys/lsb/dmesg.c
+++ b/toys/lsb/dmesg.c
@@ -4,7 +4,7 @@
*
* Copyright 2006, 2007 Rob Landley <rob@landley.net>
*
- * Not in SUSv3.
+ * http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/dmesg.html
USE_DMESG(NEWTOY(dmesg, "s#n#c", TOYFLAG_BIN))
diff --git a/toys/lsb/hostname.c b/toys/lsb/hostname.c
index 5f1c20e7..e64f4ff6 100644
--- a/toys/lsb/hostname.c
+++ b/toys/lsb/hostname.c
@@ -4,7 +4,7 @@
*
* Copyright 2012 Andre Renaud <andre@bluewatersys.com>
*
- * Not in SUSv4.
+ * http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/hostname.html
USE_HOSTNAME(NEWTOY(hostname, NULL, TOYFLAG_BIN))
diff --git a/toys/lsb/killall.c b/toys/lsb/killall.c
index b4e06944..80f0253c 100644
--- a/toys/lsb/killall.c
+++ b/toys/lsb/killall.c
@@ -4,7 +4,7 @@
*
* Copyright 2012 Andreas Heck <aheck@gmx.de>
*
- * Not in SUSv4.
+ * http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/killall.html
USE_KILLALL(NEWTOY(killall, "<1?lq", TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/lsb/mknod.c b/toys/lsb/mknod.c
index fb727bc3..c1a543d2 100644
--- a/toys/lsb/mknod.c
+++ b/toys/lsb/mknod.c
@@ -4,7 +4,7 @@
*
* Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
*
- * Not in SUSv3.
+ * http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/mknod.html
USE_MKNOD(NEWTOY(mknod, "<2>4", TOYFLAG_BIN))
diff --git a/toys/lsb/mktemp.c b/toys/lsb/mktemp.c
index e82256de..d6234ee8 100644
--- a/toys/lsb/mktemp.c
+++ b/toys/lsb/mktemp.c
@@ -4,7 +4,7 @@
*
* Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
*
- * Not in SUSv4.
+ * http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/mktemp.html
USE_MKTEMP(NEWTOY(mktemp, ">1(directory)d(tmpdir)p:", TOYFLAG_BIN))
diff --git a/toys/lsb/passwd.c b/toys/lsb/passwd.c
index 122cd942..348c9c21 100644
--- a/toys/lsb/passwd.c
+++ b/toys/lsb/passwd.c
@@ -5,7 +5,7 @@
* Copyright 2012 Ashwini Kumar <ak.ashwini@gmail.com>
* Modified 2012 Jason Kyungwan Han <asura321@gmail.com>
*
- * Not in SUSv4.
+ * http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/passwd.html
USE_PASSWD(NEWTOY(passwd, ">1a:dlu", TOYFLAG_STAYROOT|TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/lsb/pidof.c b/toys/lsb/pidof.c
index d8f24be8..45c398b4 100644
--- a/toys/lsb/pidof.c
+++ b/toys/lsb/pidof.c
@@ -4,7 +4,7 @@
*
* Copyright 2012 Andreas Heck <aheck@gmx.de>
*
- * Not in SUSv4.
+ * http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/pidof.html
USE_PIDOF(NEWTOY(pidof, "<1", TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/lsb/seq.c b/toys/lsb/seq.c
index a41537c0..2f8538cf 100644
--- a/toys/lsb/seq.c
+++ b/toys/lsb/seq.c
@@ -4,7 +4,7 @@
*
* Copyright 2006 Rob Landley <rob@landley.net>
*
- * Not in SUSv3. (Don't ask me why not.)
+ * http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/seq.html
USE_SEQ(NEWTOY(seq, "<1>3?", TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/lsb/sync.c b/toys/lsb/sync.c
index e6990fd8..0d167147 100644
--- a/toys/lsb/sync.c
+++ b/toys/lsb/sync.c
@@ -4,7 +4,7 @@
*
* Copyright 2007 Rob Landley <rob@landley.net>
*
- * Not in SUSv3.
+ * http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/sync.html
USE_SYNC(NEWTOY(sync, NULL, TOYFLAG_BIN))
diff --git a/toys/other/bzcat.c b/toys/other/bzcat.c
index b8e16958..c0c2b96a 100644
--- a/toys/other/bzcat.c
+++ b/toys/other/bzcat.c
@@ -3,8 +3,6 @@
* bzcat.c - decompress stdin to stdout using bunzip2.
*
* Copyright 2007 Rob Landley <rob@landley.net>
- *
- * Not in SUSv3.
USE_BZCAT(NEWTOY(bzcat, NULL, TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/other/catv.c b/toys/other/catv.c
index c4479d9c..db54b997 100644
--- a/toys/other/catv.c
+++ b/toys/other/catv.c
@@ -4,7 +4,7 @@
*
* Copyright (C) 2006, 2007 Rob Landley <rob@landley.net>
*
- * Not in SUSv3, but see "Cat -v considered harmful" at
+ * See "Cat -v considered harmful" at
* http://cm.bell-labs.com/cm/cs/doc/84/kp.ps.gz
USE_CATV(NEWTOY(catv, "vte", TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/other/chroot.c b/toys/other/chroot.c
index 06823796..003ed072 100644
--- a/toys/other/chroot.c
+++ b/toys/other/chroot.c
@@ -3,8 +3,6 @@
* chroot.c - Run command in new root directory.
*
* Copyright 2007 Rob Landley <rob@landley.net>
- *
- * Not in SUSv3.
USE_CHROOT(NEWTOY(chroot, "^<1", TOYFLAG_USR|TOYFLAG_SBIN))
diff --git a/toys/other/chvt.c b/toys/other/chvt.c
index 9afb059b..80eeadc4 100644
--- a/toys/other/chvt.c
+++ b/toys/other/chvt.c
@@ -3,8 +3,6 @@
* chvt.c - switch virtual terminals
*
* Copyright (C) 2008 David Anders <danders@amltd.com>
- *
- * Not in SUSv3.
USE_CHVT(NEWTOY(chvt, "<1", TOYFLAG_USR|TOYFLAG_SBIN))
diff --git a/toys/other/clear.c b/toys/other/clear.c
index 8cfceff3..7647f669 100644
--- a/toys/other/clear.c
+++ b/toys/other/clear.c
@@ -3,8 +3,6 @@
* clear.c - clear the screen
*
* Copyright 2012 Rob Landley <rob@landley.net>
- *
- * Not in SUSv4.
USE_CLEAR(NEWTOY(clear, NULL, TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/other/count.c b/toys/other/count.c
index 0ec3919d..22a06a1c 100644
--- a/toys/other/count.c
+++ b/toys/other/count.c
@@ -3,8 +3,6 @@
* count.c - Progress indicator from stdin to stdout
*
* Copyright 2002 Rob Landley <rob@landley.net>
- *
- * Not in SUSv3.
USE_COUNT(NEWTOY(count, NULL, TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/other/dos2unix.c b/toys/other/dos2unix.c
index 01c90536..07e68055 100644
--- a/toys/other/dos2unix.c
+++ b/toys/other/dos2unix.c
@@ -3,8 +3,6 @@
* dos2unix.c - convert newline format
*
* Copyright 2012 Rob Landley <rob@landley.net>
- *
- * No standard
USE_DOS2UNIX(NEWTOY(dos2unix, NULL, TOYFLAG_BIN))
USE_DOS2UNIX(OLDTOY(unix2dos, dos2unix, NULL, TOYFLAG_BIN))
diff --git a/toys/other/free.c b/toys/other/free.c
index 99dca86d..b009b8b0 100644
--- a/toys/other/free.c
+++ b/toys/other/free.c
@@ -3,8 +3,6 @@
* free.c - Display amount of free and used memory in the system.
*
* Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
- *
- * Not in SUSv4.
USE_FREE(NEWTOY(free, "gmkb", TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/other/hello.c b/toys/other/hello.c
index 06aa470b..cfab40df 100644
--- a/toys/other/hello.c
+++ b/toys/other/hello.c
@@ -1,10 +1,9 @@
/* vi: set sw=4 ts=4:
*
- * hello.c - A hello world program.
+ * hello.c - A hello world program. (Template for new commands.)
*
* Copyright 2012 Rob Landley <rob@landley.net>
*
- * Not in SUSv4/LSB.
* See http://opengroup.org/onlinepubs/9699919799/utilities/
* See http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/cmdbehav.html
diff --git a/toys/other/help.c b/toys/other/help.c
index 5e2b6ec4..2c175552 100644
--- a/toys/other/help.c
+++ b/toys/other/help.c
@@ -1,10 +1,10 @@
/* vi: set sw=4 ts=4:
*
- * help.c - Show help for toybox
+ * help.c - Show help for toybox commands
*
* Copyright 2007 Rob Landley <rob@landley.net>
*
- * Not in SUSv3, but exists as a bash builtin.
+ * Often a shell builtin.
USE_HELP(NEWTOY(help, "<1", TOYFLAG_BIN))
diff --git a/toys/other/insmod.c b/toys/other/insmod.c
index e794828c..3eae538a 100644
--- a/toys/other/insmod.c
+++ b/toys/other/insmod.c
@@ -3,8 +3,6 @@
* insmod.c - Load a module into the Linux kernel.
*
* Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
- *
- * Not in SUSv4.
USE_INSMOD(NEWTOY(insmod, "<1", TOYFLAG_BIN|TOYFLAG_NEEDROOT))
diff --git a/toys/other/login.c b/toys/other/login.c
index c2c9ba38..8c542a7e 100644
--- a/toys/other/login.c
+++ b/toys/other/login.c
@@ -4,7 +4,6 @@
*
* Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
*
- * Not in SUSv4.
* No support for PAM/securetty/selinux/login script/issue/utmp
* Relies on libcrypt for hash calculation.
diff --git a/toys/other/lsmod.c b/toys/other/lsmod.c
index 82dbb589..821243b8 100644
--- a/toys/other/lsmod.c
+++ b/toys/other/lsmod.c
@@ -3,8 +3,6 @@
* lsmod.c - Show the status of modules in the kernel
*
* Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
- *
- * Not in SUSv4.
USE_LSMOD(NEWTOY(lsmod, NULL, TOYFLAG_BIN))
diff --git a/toys/other/mdev.c b/toys/other/mdev.c
index b769828f..6d030d14 100644
--- a/toys/other/mdev.c
+++ b/toys/other/mdev.c
@@ -1,11 +1,9 @@
/* vi:set ts=4:
*
- * mdev - Mini udev for busybox
+ * mdev.c - Populate /dev directory and handle hotplug events
*
* Copyright 2005, 2008 Rob Landley <rob@landley.net>
* Copyright 2005 Frank Sorenson <frank@tuxrocks.com>
- *
- * Not in SUSv3.
USE_MDEV(NEWTOY(mdev, "s", TOYFLAG_USR|TOYFLAG_BIN|TOYFLAG_UMASK))
diff --git a/toys/other/mke2fs.c b/toys/other/mke2fs.c
index 47f31f2d..837ea214 100644
--- a/toys/other/mke2fs.c
+++ b/toys/other/mke2fs.c
@@ -3,8 +3,6 @@
* mke2fs.c - Create an ext2 filesystem image.
*
* Copyright 2006, 2007 Rob Landley <rob@landley.net>
- *
- * Not in SUSv3.
// Still to go: "E:jJ:L:m:O:"
USE_MKE2FS(NEWTOY(mke2fs, "<1>2g:Fnqm#N#i#b#", TOYFLAG_SBIN))
diff --git a/toys/other/mkswap.c b/toys/other/mkswap.c
index 87c1550f..1e96c196 100644
--- a/toys/other/mkswap.c
+++ b/toys/other/mkswap.c
@@ -3,8 +3,6 @@
* mkswap.c - Format swap device.
*
* Copyright 2009 Rob Landley <rob@landley.net>
- *
- * Not in SUSv4.
USE_MKSWAP(NEWTOY(mkswap, "<1>1", TOYFLAG_SBIN))
diff --git a/toys/other/mountpoint.c b/toys/other/mountpoint.c
index 405bb3a5..1bb0b3a7 100644
--- a/toys/other/mountpoint.c
+++ b/toys/other/mountpoint.c
@@ -3,8 +3,6 @@
* mountpoint.c - Check if a directory is a mountpoint.
*
* Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
- *
- * Not in SUSv4.
USE_MOUNTPOINT(NEWTOY(mountpoint, "<1qdx", TOYFLAG_BIN))
diff --git a/toys/other/netcat.c b/toys/other/netcat.c
index 3da19127..6442c09b 100644
--- a/toys/other/netcat.c
+++ b/toys/other/netcat.c
@@ -1,10 +1,8 @@
/* vi: set sw=4 ts=4:
*
- * nc: mini-netcat - Forward stdin/stdout to a file or network connection.
+ * netcat.c - Forward stdin/stdout to a file or network connection.
*
* Copyright 2007 Rob Landley <rob@landley.net>
- *
- * Not in SUSv3.
USE_NETCAT(OLDTOY(nc, netcat, USE_NETCAT_LISTEN("tl^L^")"w#p#s:q#f:", TOYFLAG_BIN))
USE_NETCAT(NEWTOY(netcat, USE_NETCAT_LISTEN("tl^L^")"w#p#s:q#f:", TOYFLAG_BIN))
@@ -26,7 +24,7 @@ config NETCAT
config NETCAT_LISTEN
- bool "netcat sever options (-let)"
+ bool "netcat server options (-let)"
default y
depends on NETCAT
help
diff --git a/toys/other/oneit.c b/toys/other/oneit.c
index 45935918..ff7aa914 100644
--- a/toys/other/oneit.c
+++ b/toys/other/oneit.c
@@ -1,10 +1,8 @@
/* vi: set sw=4 ts=4:
*
- * oneit.c, tiny one-process init replacement.
+ * oneit.c - tiny init replacement to launch a single child process.
*
* Copyright 2005, 2007 by Rob Landley <rob@landley.net>.
- *
- * Not in SUSv3.
USE_ONEIT(NEWTOY(oneit, "^<1c:p", TOYFLAG_SBIN))
diff --git a/toys/other/printenv.c b/toys/other/printenv.c
index 305b3e7d..d5177468 100644
--- a/toys/other/printenv.c
+++ b/toys/other/printenv.c
@@ -3,7 +3,6 @@
* printenv.c - Print environment variables.
*
* Copyright 2012 Georgi Chorbadzhiyski <georgi@unixsol.org>
- *
USE_PRINTENV(NEWTOY(printenv, "0(null)", TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/other/readlink.c b/toys/other/readlink.c
index 51dbf02f..c579635c 100644
--- a/toys/other/readlink.c
+++ b/toys/other/readlink.c
@@ -3,8 +3,6 @@
* readlink.c - Return string representation of a symbolic link.
*
* Copyright 2007 Rob Landley <rob@landley.net>
- *
- * Not in SUSv3.
USE_READLINK(NEWTOY(readlink, "<1f", TOYFLAG_BIN))
diff --git a/toys/other/realpath.c b/toys/other/realpath.c
index 10457cf6..1503c455 100644
--- a/toys/other/realpath.c
+++ b/toys/other/realpath.c
@@ -3,8 +3,6 @@
* realpath.c - Return the canonical version of a pathname
*
* Copyright 2012 Andre Renaud <andre@bluewatersys.com>
- *
- * Not in SUSv4.
USE_REALPATH(NEWTOY(realpath, "<1", TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/other/rmmod.c b/toys/other/rmmod.c
index d730b45d..cfc978ab 100644
--- a/toys/other/rmmod.c
+++ b/toys/other/rmmod.c
@@ -3,8 +3,6 @@
* rmmod.c - Remove a module from the Linux kernel.
*
* Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
- *
- * Not in SUSv4.
USE_RMMOD(NEWTOY(rmmod, "<1wf", TOYFLAG_BIN|TOYFLAG_NEEDROOT))
diff --git a/toys/other/setsid.c b/toys/other/setsid.c
index 1b98315c..0f08cc03 100644
--- a/toys/other/setsid.c
+++ b/toys/other/setsid.c
@@ -3,8 +3,6 @@
* setsid.c - Run program in a new session ID.
*
* Copyright 2006 Rob Landley <rob@landley.net>
- *
- * Not in SUSv4.
USE_SETSID(NEWTOY(setsid, "^<1t", TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/other/sha1sum.c b/toys/other/sha1sum.c
index 3229cd12..e5f336a4 100644
--- a/toys/other/sha1sum.c
+++ b/toys/other/sha1sum.c
@@ -6,8 +6,6 @@
*
* Based on the public domain SHA-1 in C by Steve Reid <steve@edmweb.com>
* from http://www.mirrors.wiretapped.net/security/cryptography/hashes/sha1/
- *
- * Not in SUSv3.
USE_SHA1SUM(NEWTOY(sha1sum, NULL, TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/other/swapoff.c b/toys/other/swapoff.c
index fba0de83..cac15732 100644
--- a/toys/other/swapoff.c
+++ b/toys/other/swapoff.c
@@ -3,8 +3,6 @@
* swapoff.c - Disable region for swapping
*
* Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
- *
- * Not in SUSv4.
USE_SWAPOFF(NEWTOY(swapoff, "<1>1", TOYFLAG_BIN|TOYFLAG_NEEDROOT))
diff --git a/toys/other/swapon.c b/toys/other/swapon.c
index 16ce8d1f..4b9734e4 100644
--- a/toys/other/swapon.c
+++ b/toys/other/swapon.c
@@ -3,8 +3,6 @@
* swapon.c - Enable region for swapping
*
* Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
- *
- * Not in SUSv4.
USE_SWAPON(NEWTOY(swapon, "<1>1p#<0>32767", TOYFLAG_BIN|TOYFLAG_NEEDROOT))
diff --git a/toys/other/tac.c b/toys/other/tac.c
index cd5f83f6..7a8bb4ae 100644
--- a/toys/other/tac.c
+++ b/toys/other/tac.c
@@ -3,8 +3,6 @@
* tac.c - output lines in reverse order
*
* Copyright 2012 Rob Landley <rob@landley.net>
- *
- * Not in SUSv4.
USE_TAC(NEWTOY(tac, NULL, TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/other/taskset.c b/toys/other/taskset.c
index 7ac3b572..9b219044 100644
--- a/toys/other/taskset.c
+++ b/toys/other/taskset.c
@@ -3,8 +3,6 @@
* taskset.c - Retrieve or set the CPU affinity of a process.
*
* Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
- *
- * No standard.
USE_TASKSET(NEWTOY(taskset, "<1^pa", TOYFLAG_BIN|TOYFLAG_STAYROOT))
diff --git a/toys/other/truncate.c b/toys/other/truncate.c
index dccd3215..aa952b16 100644
--- a/toys/other/truncate.c
+++ b/toys/other/truncate.c
@@ -3,8 +3,6 @@
* truncate.c - set file length, extending sparsely if necessary
*
* Copyright 2011 Rob Landley <rob@landley.net>
- *
- * Not in SUSv4
USE_TRUNCATE(NEWTOY(truncate, "<1s#|c", TOYFLAG_BIN))
diff --git a/toys/other/unshare.c b/toys/other/unshare.c
index 1df9b758..bdee66bc 100644
--- a/toys/other/unshare.c
+++ b/toys/other/unshare.c
@@ -3,8 +3,6 @@
* unshare.c - run command in new context
*
* Copyright 2011 Rob Landley <rob@landley.net>
- *
- * Not in SUSv4.
USE_UNSHARE(NEWTOY(unshare, "<1^nium", TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/other/uptime.c b/toys/other/uptime.c
index 83fb6b1e..dfd62b6c 100644
--- a/toys/other/uptime.c
+++ b/toys/other/uptime.c
@@ -3,8 +3,6 @@
* uptime.c - Tell how long the system has been running.
*
* Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
- *
- * Not in SUSv4.
USE_UPTIME(NEWTOY(uptime, NULL, TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/other/usleep.c b/toys/other/usleep.c
index 6efc0c16..ff7fe88b 100644
--- a/toys/other/usleep.c
+++ b/toys/other/usleep.c
@@ -3,8 +3,6 @@
* usleep.c - Wait for a number of microseconds.
*
* Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
- *
- * No standard.
USE_USLEEP(NEWTOY(usleep, "<1", TOYFLAG_BIN))
diff --git a/toys/other/vmstat.c b/toys/other/vmstat.c
index 2826ced5..b4858227 100644
--- a/toys/other/vmstat.c
+++ b/toys/other/vmstat.c
@@ -3,8 +3,6 @@
* vmstat.c - Report virtual memory statistics.
*
* Copyright 2012 Elie De Brauwer <eliedebrauwer@gmail.com>
- *
- * Not in SUSv4.
USE_VMSTAT(NEWTOY(vmstat, ">2n", TOYFLAG_BIN))
diff --git a/toys/other/w.c b/toys/other/w.c
index 50f2283b..097a4386 100644
--- a/toys/other/w.c
+++ b/toys/other/w.c
@@ -3,8 +3,6 @@
* w.c - shows logged in users
*
* Copyright 2012 Gaurang Shastri <gmshastri@gmail.com>
- *
- * Not in SUSv4.
USE_W(NEWTOY(w, NULL, TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/other/which.c b/toys/other/which.c
index 4923859c..44b1f568 100644
--- a/toys/other/which.c
+++ b/toys/other/which.c
@@ -3,8 +3,6 @@
* which.c - Find executable files in $PATH.
*
* Copyright 2006 Rob landley <rob@landley.net>
- *
- * Not in SUSv3.
USE_WHICH(NEWTOY(which, "<1a", TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/other/whoami.c b/toys/other/whoami.c
index 6d9233d1..e6131498 100644
--- a/toys/other/whoami.c
+++ b/toys/other/whoami.c
@@ -3,7 +3,6 @@
* whoami.c - Print effective user name
*
* Copyright 2012 Georgi Chorbadzhiyski <georgi@unixsol.org>
- *
USE_WHOAMI(NEWTOY(whoami, NULL, TOYFLAG_USR|TOYFLAG_BIN))
diff --git a/toys/other/yes.c b/toys/other/yes.c
index a44937b3..90bf522d 100644
--- a/toys/other/yes.c
+++ b/toys/other/yes.c
@@ -3,8 +3,6 @@
* yes.c - Repeatedly output a string.
*
* Copyright 2007 Rob Landley <rob@landley.net>
- *
- * Not in SUSv3.
USE_YES(NEWTOY(yes, NULL, TOYFLAG_USR|TOYFLAG_BIN))
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))