Begin File: gnu_utils.tgz Description:various GNU file utils Keywords: file utils cp rm Version: Entered-date: Author: Ported-by: Original-site: Copying-policy: Supplemental: This is the GNU file manipulation utilities package. Most of these programs have significant advantages over their Unix counterparts, such as greater speed, additional options, and fewer arbitrary limits. Summary of changes by release: 1.1. Some bug fixes, enhancements, and changes for POSIX conformance, including adding two programs invented by the POSIX committee (create and mkfifo). 1.2. An important bug fix for cp on systems that do not have the ftruncate system call. 1.3. Added tac and install programs, more bug fixes and POSIX and ANSI C changes, support for 16 bit machines, and backup file creation options. 1.4. Added simple roff -man documentation, cut, paste, and touch programs, changes to accomodate a new draft of POSIX.2 including removal of the create program, more bug fixes, and some new options. The fileutils are intended to be POSIX compliant (with BSD and other extensions), like the rest of the GNU system. They are not all quite there yet; however, the POSIX shell and utilities standard (1003.2) has not been finalized, either. They presently don't support internationalization features, since none of the C libraries that I have access to do. (The GNU C library will, but isn't finished.) The comprehensive Texinfo documentation for these programs is not finished yet, and needs to be rewritten. In the interim, the skeletal man pages provided with this distribution will have to serve. The ls, dir, and vdir commands are all separate executables instead of one program that checks argv[0] because people often rename these programs to things like gls, gnuls, l, etc., and renaming a program file shouldn't affect how it operates, so that people can get the behavior they want with whatever name they want. The GNU ls with the -s option, and at the top of long listings of directories, reports file sizes in units of 512 bytes by default, as required by POSIX. The GNU du does the same thing, also for POSIX. The GNU ls and du both have a -k option to make them report sizes in kilobytes instead. The GNU tail command has no -r option (print in reverse). Reversing a file is really a different job from printing the end of a file; the BSD tail can get away with kludging it in because of its limited size buffer. A more versatile way than tail -r to reverse files is the `tac' command included in this package. The GNU rm, like every other program that uses getopt, lets you use the "--" option to indicate that all following arguments are non-options. To remove a file called "-f" in the current directory, you could either rm -- -f or rm ./-f The Unix rm's use of "-" for this purpose predates the development of the getopt standard syntax. The GNU cp, mv, and ln commands can make backups of files that they are about to overwrite or remove. They make backups only when the -b (+backup) option is given. The type of backups made can be set with the VERSION_CONTROL environment variable, which can be overridden by the -V (+version-control) option. If VERSION_CONTROL is not set and -V (+version-control) is not given, the default backup type is `existing'. The value of VERSION_CONTROL and the argument to -V (+version-control) is like GNU Emacs' `version-control' variable; it also accepts synonyms that are more descriptive. The valid values are (unique abbreviations are accepted): t or numbered Always make numbered backups. nil or existing Make numbered backups of files that already have them, simple backups of the others. never or simple Always make simple backups. The suffix used for making simple backup files can be set with the SIMPLE_BACKUP_SUFFIX environment variable, which can be overridden by the -S (+suffix) option. If neither of those is given, the default is `~', as it is in Emacs. Backup file names will end up being the same as the original file names for files that are at the system's filename length limit; when that happens, the new file will silently replace the backup file that was just made. This happens with GNU Emacs, also. I am not aware of a clean, simple solution to this problem. Special thanks to Jim Meyering, Brian Matthews, and Bruce Evans for help with debugging and porting these programs. Suggestions and bug reports for these programs should be mailed to bug-gnu-utils@prep.ai.mit.edu. archive contents: drwxrwxr-x 0 jwall techies Jan 20 12:49 gnu_utils -rw-r--r-- 0 jwall techies 12488 Jan 17 16:54 gnu_utils/COPYING -rw-r--r-- 0 jwall techies 44139 Jan 17 16:54 gnu_utils/ChangeLog drwxrwxr-x 0 jwall techies Jan 20 12:49 gnu_utils/Ginstall -rw-r--r-- 0 jwall techies 5717 Apr 9 09:39 gnu_utils/Ginstall/Makefile -rw-r--r-- 0 jwall techies 4369 Jan 17 17:54 gnu_utils/Ginstall/dirlib.c -rw-r--r-- 0 jwall techies 2477 Jan 17 17:54 gnu_utils/Ginstall/error.c -rw-r--r-- 0 jwall techies 16722 Jan 24 09:01 gnu_utils/Ginstall/getopt.c -rw-r--r-- 0 jwall techies 3554 Jan 17 17:54 gnu_utils/Ginstall/getopt.h -rw-r--r-- 0 jwall techies 3388 Jan 17 17:54 gnu_utils/Ginstall/getopt1.c -rw-r--r-- 0 jwall techies 1936 Jan 17 17:55 gnu_utils/Ginstall/ginstall.1 -rw-r--r-- 0 jwall techies 14340 Apr 9 09:41 gnu_utils/Ginstall/install.c -rw-r--r-- 0 jwall techies 4052 Apr 8 15:19 gnu_utils/Ginstall/system.h -rw-r--r-- 0 jwall techies 9636 Sep 9 15:47 gnu_utils/Makefile -rw-r--r-- 0 jwall techies 4314 Jan 17 16:54 gnu_utils/README -rw-rw-r-- 0 jwall techies 193 Sep 27 10:46 gnu_utils/README.qnx -rw-r--r-- 0 jwall techies 5317 Jan 24 07:51 gnu_utils/alloca.c -rw-r--r-- 0 jwall techies 2478 Jan 17 16:54 gnu_utils/argmatch.c -rw-r--r-- 0 jwall techies 6133 Sep 9 15:32 gnu_utils/backupfile.c -rw-r--r-- 0 jwall techies 1325 Jan 17 16:54 gnu_utils/backupfile.h -rw-r--r-- 0 jwall techies 15673 Jan 24 07:49 gnu_utils/cat.c -rw-r--r-- 0 jwall techies 7435 Jan 17 16:54 gnu_utils/chmod.c -rw-r--r-- 0 jwall techies 11900 Apr 8 15:23 gnu_utils/cmp.c -rw-r--r-- 0 jwall techies 2834 Jan 17 16:54 gnu_utils/cp-aux.c -rw-r--r-- 0 jwall techies 5637 Jan 17 16:54 gnu_utils/cp-hash.c -rw-r--r-- 0 jwall techies 19411 Apr 8 15:33 gnu_utils/cp.c -rw-r--r-- 0 jwall techies 2970 Jan 17 16:54 gnu_utils/cp.h drwxrwxr-x 0 jwall techies Jan 20 12:48 gnu_utils/cpt -rw-rw-r-- 0 jwall techies 17830 May 23 16:14 gnu_utils/cpt/cpt.c -rw-rw-r-- 0 jwall techies 2214 May 23 16:13 gnu_utils/cpt/cpt.h -rw-rw-r-- 0 jwall techies 3815 May 23 16:07 gnu_utils/cpt/cpt.man -rw-rw-r-- 0 jwall techies 6610 May 23 16:13 gnu_utils/cpt/memincs.h -rw-rw-r-- 0 jwall techies 1145 May 23 16:07 gnu_utils/cpt/Makefile -rw-r--r-- 0 jwall techies 13901 Jan 17 16:54 gnu_utils/cut.c -rw-r--r-- 0 jwall techies 23249 Sep 9 15:38 gnu_utils/dd.c -rw-r--r-- 0 jwall techies 4369 Jan 17 16:54 gnu_utils/dirlib.c -rw-r--r-- 0 jwall techies 15346 Sep 9 15:40 gnu_utils/du.c -rw-r--r-- 0 jwall techies 3484 Jan 17 16:54 gnu_utils/eaccess.c -rw-r--r-- 0 jwall techies 2477 Jan 17 16:54 gnu_utils/error.c -rw-r--r-- 0 jwall techies 1513 Jan 17 16:54 gnu_utils/fileblocks.c -rw-r--r-- 0 jwall techies 4685 Jan 17 16:54 gnu_utils/filemode.c -rw-r--r-- 0 jwall techies 13758 Jan 17 16:54 gnu_utils/getdate.y -rw-r--r-- 0 jwall techies 16722 Jan 24 08:01 gnu_utils/getopt.c -rw-r--r-- 0 jwall techies 3554 Jan 17 16:54 gnu_utils/getopt.h -rw-r--r-- 0 jwall techies 3388 Jan 17 16:54 gnu_utils/getopt1.c -rw-r--r-- 0 jwall techies 1537 Jan 17 16:54 gnu_utils/getversion.c -rw-r--r-- 0 jwall techies 4259 Jan 17 16:54 gnu_utils/globmat.c -rw-r--r-- 0 jwall techies 197450 Feb 11 22:32 gnu_utils/gmake -rw-r--r-- 0 jwall techies 8049 May 24 11:35 gnu_utils/head.c -rw-r--r-- 0 jwall techies 12974 Jan 17 16:54 gnu_utils/install.c -rw-r--r-- 0 jwall techies 7835 Jan 17 16:54 gnu_utils/ln.c -rw-r--r-- 0 jwall techies 40465 Jan 17 16:54 gnu_utils/ls.c drwxrwxr-x 0 jwall techies Jan 20 12:49 gnu_utils/man -rw-r--r-- 0 jwall techies 1154 Jan 17 17:55 gnu_utils/man/gcat.1 -rw-r--r-- 0 jwall techies 2598 Jan 17 17:55 gnu_utils/man/gchmod.1 -rw-r--r-- 0 jwall techies 890 Jan 17 17:55 gnu_utils/man/gcmp.1 -rw-r--r-- 0 jwall techies 2968 Jan 17 17:55 gnu_utils/man/gcp.1 -rw-r--r-- 0 jwall techies 1645 Jan 17 17:55 gnu_utils/man/gcut.1 -rw-r--r-- 0 jwall techies 1994 Jan 17 17:55 gnu_utils/man/gdd.1 -rw-r--r-- 0 jwall techies 1088 Jan 17 17:55 gnu_utils/man/gdu.1 -rw-r--r-- 0 jwall techies 1022 Jan 17 17:55 gnu_utils/man/ghead.1 -rw-r--r-- 0 jwall techies 1936 Jan 17 17:55 gnu_utils/man/ginstall.1 -rw-r--r-- 0 jwall techies 2507 Jan 17 17:55 gnu_utils/man/gln.1 -rw-r--r-- 0 jwall techies 4894 Jan 17 17:55 gnu_utils/man/gls.1 -rw-r--r-- 0 jwall techies 756 Jan 17 17:55 gnu_utils/man/gmkdir.1 -rw-r--r-- 0 jwall techies 493 Jan 17 17:55 gnu_utils/man/gmkfifo.1 -rw-r--r-- 0 jwall techies 2362 Jan 17 17:55 gnu_utils/man/gmv.1 -rw-r--r-- 0 jwall techies 756 Jan 17 17:55 gnu_utils/man/gpaste.1 -rw-r--r-- 0 jwall techies 743 Jan 17 17:55 gnu_utils/man/grm.1 -rw-r--r-- 0 jwall techies 490 Jan 17 17:55 gnu_utils/man/grmdir.1 -rw-r--r-- 0 jwall techies 864 Jan 17 17:55 gnu_utils/man/gtac.1 -rw-r--r-- 0 jwall techies 1770 Jan 17 17:55 gnu_utils/man/gtail.1 -rw-r--r-- 0 jwall techies 1393 Jan 17 17:55 gnu_utils/man/gtouch.1 -rw-r--r-- 0 jwall techies 4652 Jan 17 16:54 gnu_utils/mkdir.c -rw-r--r-- 0 jwall techies 3021 Jan 17 16:54 gnu_utils/mkfifo.c -rw-r--r-- 0 jwall techies 3540 Jan 17 16:54 gnu_utils/mktime.c -rw-r--r-- 0 jwall techies 9176 Jan 17 16:54 gnu_utils/modechange.c -rw-r--r-- 0 jwall techies 2029 Jan 17 16:54 gnu_utils/modechange.h -rw-r--r-- 0 jwall techies 9494 Jan 17 16:54 gnu_utils/mv.c -rw-r--r-- 0 jwall techies 6006 Jan 17 16:54 gnu_utils/mvdir.c -rw-r--r-- 0 jwall techies 11578 Jan 17 16:54 gnu_utils/paste.c -rw-r--r-- 0 jwall techies 3192 Jan 17 16:54 gnu_utils/posixtime.y -rw-r--r-- 0 jwall techies 83252 Jan 17 16:54 gnu_utils/regex.c -rw-r--r-- 0 jwall techies 9610 Sep 9 15:45 gnu_utils/regex.h -rw-r--r-- 0 jwall techies 12990 Jan 17 16:54 gnu_utils/rm.c -rw-r--r-- 0 jwall techies 2945 Jan 17 16:54 gnu_utils/rmdir.c -rw-r--r-- 0 jwall techies 3148 Jan 17 16:54 gnu_utils/savedir.c -rw-r--r-- 0 jwall techies 4075 Sep 9 15:26 gnu_utils/system.h -rw-r--r-- 0 jwall techies 14685 Sep 9 15:46 gnu_utils/tac.c -rw-r--r-- 0 jwall techies 22731 May 22 13:18 gnu_utils/tail.c -rw-r--r-- 0 jwall techies 8077 Jan 17 16:54 gnu_utils/touch.c End