changeset 656:6df4ccc0acbe

Regularize command headers, update links to standards documents.
author Rob Landley <rob@landley.net>
date Sat, 25 Aug 2012 18:08:51 -0500
parents e235d7d575e5
children 7f5db1d707c0
files toys/lsb/dmesg.c toys/lsb/hostname.c toys/lsb/killall.c toys/lsb/mknod.c toys/lsb/mktemp.c toys/lsb/passwd.c toys/lsb/pidof.c toys/lsb/seq.c toys/lsb/sync.c toys/other/bzcat.c toys/other/catv.c toys/other/chroot.c toys/other/chvt.c toys/other/clear.c toys/other/count.c toys/other/dos2unix.c toys/other/free.c toys/other/hello.c toys/other/help.c toys/other/insmod.c toys/other/login.c toys/other/lsmod.c toys/other/mdev.c toys/other/mke2fs.c toys/other/mkswap.c toys/other/mountpoint.c toys/other/netcat.c toys/other/oneit.c toys/other/printenv.c toys/other/readlink.c toys/other/realpath.c toys/other/rmmod.c toys/other/setsid.c toys/other/sha1sum.c toys/other/swapoff.c toys/other/swapon.c toys/other/tac.c toys/other/taskset.c toys/other/truncate.c toys/other/unshare.c toys/other/uptime.c toys/other/usleep.c toys/other/vmstat.c toys/other/w.c toys/other/which.c toys/other/whoami.c toys/other/yes.c toys/posix/cat.c toys/posix/chgrp.c toys/posix/chmod.c toys/posix/cksum.c toys/posix/cmp.c toys/posix/comm.c toys/posix/cp.c toys/posix/date.c toys/posix/df.c toys/posix/echo.c toys/posix/env.c toys/posix/false.c toys/posix/head.c toys/posix/id.c toys/posix/ln.c toys/posix/logname.c toys/posix/ls.c toys/posix/mkdir.c toys/posix/mkfifo.c toys/posix/nice.c toys/posix/od.c toys/posix/patch.c toys/posix/pwd.c toys/posix/sed.c toys/posix/sh.c toys/posix/sleep.c toys/posix/sort.c toys/posix/tail.c toys/posix/tee.c toys/posix/true.c toys/posix/uname.c toys/posix/uniq.c toys/posix/who.c
diffstat 80 files changed, 53 insertions(+), 121 deletions(-) [+]
line wrap: on
line diff
--- a/toys/lsb/dmesg.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/lsb/dmesg.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/lsb/hostname.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/lsb/hostname.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/lsb/killall.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/lsb/killall.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/lsb/mknod.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/lsb/mknod.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/lsb/mktemp.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/lsb/mktemp.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/lsb/passwd.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/lsb/passwd.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/lsb/pidof.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/lsb/pidof.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/lsb/seq.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/lsb/seq.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/lsb/sync.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/lsb/sync.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/bzcat.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/bzcat.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/catv.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/catv.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
--- a/toys/other/chroot.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/chroot.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/chvt.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/chvt.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/clear.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/clear.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/count.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/count.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/dos2unix.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/dos2unix.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
--- a/toys/other/free.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/free.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/hello.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/hello.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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
 
--- a/toys/other/help.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/help.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/insmod.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/insmod.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/login.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/login.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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.
 
--- a/toys/other/lsmod.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/lsmod.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/mdev.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/mdev.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/mke2fs.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/mke2fs.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
--- a/toys/other/mkswap.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/mkswap.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/mountpoint.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/mountpoint.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/netcat.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/netcat.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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_LISTEN
-	bool "netcat sever options (-let)"
+	bool "netcat server options (-let)"
 	default y
 	depends on NETCAT
 	help
--- a/toys/other/oneit.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/oneit.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/printenv.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/printenv.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/readlink.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/readlink.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/realpath.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/realpath.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/rmmod.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/rmmod.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/setsid.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/setsid.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/sha1sum.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/sha1sum.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/swapoff.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/swapoff.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/swapon.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/swapon.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/tac.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/tac.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/taskset.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/taskset.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/truncate.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/truncate.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/unshare.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/unshare.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/uptime.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/uptime.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/usleep.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/usleep.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/vmstat.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/vmstat.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/w.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/w.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/which.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/which.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/whoami.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/whoami.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/other/yes.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/other/yes.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/cat.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/cat.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/chgrp.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/chgrp.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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]
 
--- a/toys/posix/chmod.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/chmod.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/cksum.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/cksum.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/cmp.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/cmp.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/comm.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/comm.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
--- a/toys/posix/cp.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/cp.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
--- a/toys/posix/date.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/date.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/df.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/df.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/echo.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/echo.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/env.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/env.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/false.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/false.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/head.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/head.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/id.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/id.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/ln.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/ln.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/logname.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/logname.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/ls.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/ls.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
--- a/toys/posix/mkdir.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/mkdir.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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
 
--- a/toys/posix/mkfifo.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/mkfifo.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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
 
--- a/toys/posix/nice.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/nice.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/od.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/od.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/patch.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/patch.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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:
--- a/toys/posix/pwd.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/pwd.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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
 
--- a/toys/posix/sed.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/sed.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/sh.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/sh.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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:
  *
--- a/toys/posix/sleep.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/sleep.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/sort.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/sort.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/tail.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/tail.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/tee.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/tee.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/true.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/true.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/uname.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/uname.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/uniq.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/uniq.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))
 
--- a/toys/posix/who.c	Sat Aug 25 16:34:08 2012 -0500
+++ b/toys/posix/who.c	Sat Aug 25 18:08:51 2012 -0500
@@ -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))