From 7acaebec5dfe7f928afda74b0cc25eec04c9c11e Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sat, 2 Aug 2003 16:13:57 +0000 Subject: added coreutils files git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2662 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- appendixa/coreutils-dep.xml | 28 ++++ appendixa/coreutils-desc.xml | 311 ++++++++++++++++++++++++++++++++++++++ appendixa/coreutils-down.xml | 6 + appendixa/coreutils-shortdesc.xml | 20 +++ appendixa/coreutils.xml | 11 ++ 5 files changed, 376 insertions(+) create mode 100644 appendixa/coreutils-dep.xml create mode 100644 appendixa/coreutils-desc.xml create mode 100644 appendixa/coreutils-down.xml create mode 100644 appendixa/coreutils-shortdesc.xml create mode 100644 appendixa/coreutils.xml (limited to 'appendixa') diff --git a/appendixa/coreutils-dep.xml b/appendixa/coreutils-dep.xml new file mode 100644 index 000000000..fe3e3303f --- /dev/null +++ b/appendixa/coreutils-dep.xml @@ -0,0 +1,28 @@ +   + + +Coreutils Installation Dependencies + +Not yet checked but probably something like this: + +Autoconf: autoconf, autoheader +Automake: aclocal, automake +Bash: sh +Binutils: ar, as, ld, ranlib +Coreutils: basename, cat, chmod, chown, echo, expr, hostname, + install, ls, mv, rm, sleep, tr, uname +Diffutils: cmp +Gettext: msgfmt, xgettext +Gcc: cc, cc1, collect2, cpp0, gcc +Glibc: getconf +Grep: egrep, fgrep, grep +M4: m4 +Make: make +Gawk: gawk +Perl: perl +Sed: sed +Tar: tar +Texinfo: install-info, makeinfo + + + diff --git a/appendixa/coreutils-desc.xml b/appendixa/coreutils-desc.xml new file mode 100644 index 000000000..3381ca2ff --- /dev/null +++ b/appendixa/coreutils-desc.xml @@ -0,0 +1,311 @@ +   + +Descriptions + +Not yet fully checked. + +Program file descriptions + +basename +basename strips directory and suffixes from filenames. + +cat +cat concatenates file(s) or standard input to +standard output. + +chgrp +chgrp changes the group ownership of each given file to the named group, +which can be either a group name or a numeric group ID. + +chmod +chmod changes the permissions of each given file according to mode, which +can be either a symbolic representation of changes to make or an octal +number representing the bit pattern for the new permissions. + +chown +chown changes the user and/or group ownership of each +given file. + +chroot +chroot runs a command or interactive shell with special +root directory. + +cksum +cksum prints CRC checksum and byte counts of each specified +file. + +comm +comm compares two sorted files line by line. + +cp +cp copies files from one place to another. + +csplit +csplit outputs pieces of a file separated by (a) pattern(s) to files +xx01, xx02, ..., and outputs byte counts of each piece to standard +output. + +cut +cut prints selected parts of lines from specified files to standard +output. + +date +date displays the current time in a specified format, or sets +the system date. + +dd +dd copies a file (from the standard input to the standard output, by +default) with a user-selectable blocksize, while optionally performing +conversions on it. + +df +df displays the amount of disk space available on the filesystem +containing each file name argument. If no file name is given, the space +available on all currently mounted filesystems is shown. + +dir, ls and vdir +dir and vdir are versions of ls with different default output formats. +These programs list each given file or directory name. Directory contents +are sorted alphabetically. For ls, files are, by default, listed in columns +sorted vertically if the standard output is a terminal; otherwise they +are listed one per line. For dir, files are, by default, listed in columns +sorted vertically. For vdir, files are, by default, listed in +long format. + +dircolors +dircolors outputs commands to set the LS_COLOR environment variable. +The LS_COLOR variable is use to change the default color scheme used by +ls and related utilities. + +dirname +dirname strips non-directory suffixes from file name. + +du +du displays the amount of disk space used by each file or directory +listed on the command-line and by each of their subdirectories. + +echo +echo displays a line of text. + +env +env runs a program in a modified environment. + +expand +expand converts tabs in files to spaces, writing to standard +output. + +expr +expr evaluates expressions. + +factor +factor prints the prime factors of all specified +integer numbers. + +false +false always exits with a status code indicating failure. + +fmt +fmt reformats each paragraph in the specified file(s), writing to +standard output. + +fold +fold wraps input lines in each specified file (standard input by default), +writing to standard output. + +groups +groups prints a user's group memberships. + +head +head prints the first xx (10 by default) lines of each specified file to +standard output. + +hostid +hostid prints the numeric identifier (in hexadecimal) for the current +host. + +id +id prints the effective user and group IDs of the current +user or a given user. + +install +install copies files and sets their permission modes and, if possible, +their owner and group. + +join +join joins lines of two files on a common field. + +ln +ln makes hard or soft (symbolic) links between files. + +logname +logname prints the current user's login name. + +md5sum +md5sum prints or checks MD5 checksums. + +mkdir +mkdir creates directories with a given name. + +mkfifo +mkfifo creates a FIFO with each given name. + +mknod +mknod creates a FIFO, character special file or block special file +with the given file name. + +mv +mv moves files from one directory to another or renames files, depending +on the arguments given to mv. + +nice +nice runs a program with modified scheduling priority. + +nl +nl writes each specified file to standard output, with line numbers +added. + +nohup +nohup runs a command immune to hangups, with output to a +log file. + +od +od writes an unambiguous representation, octal bytes by default, of a +specified file to standard output. + +paste +paste writes lines consisting of the sequentially corresponding +lines from each specified file, separated by TABs, +to standard output. + +pathchk +pathchk checks whether file names are valid or portable. + +pinky +pinky is a lightweight finger utility which retrieves information about +a certain user. + +pr +pr paginates or columnates files for printing. + +printenv +printenv prints all or part of the environment. + +printf +printf formats and prints data (the same as the C printf +function). + +ptx +ptx produces a permuted index of file contents. + +pwd +pwd prints the name of the current/working directory. + +rm +rm removes files or directories. + +rmdir +rmdir removes directories, if they are empty. + +seq +seq prints numbers in a certain range with a certain +increment. + +shred +shred deletes a file securely, overwriting it first so that its +contents can't be recovered. + +sleep +sleep delays for a specified amount of time. + +sort +sort writes sorted concatenation of files to standard +output. + +split +split outputs fixed-size pieces of an input file to +PREFIXaa, PREFIXab, ... + +stty +stty changes and prints terminal line settings. + +su +su runs a shell with substitute user and group IDs. + +sum +sum prints checksum and block counts for each specified +file. + +sync +sync forces changed blocks to disk and updates the +super block. + +tac +tac writes each specified file to standard output, last line +first. + +tail +tail print the last xx (10 by default) lines of each specified file to +standard output. + +tee +tee reads from standard input and writes to standard output and +files. + +test +test checks file types and compares values. + +touch +touch changes the access and modification times of each given file to the +current time. Files that do not exist are created empty. + +tr +tr translates, squeezes, and/or deletes characters from standard +input, writing to standard output. + +true +true always exits with a status code indicating success. + +tsort +tsort writes totally ordered lists consistent with the partial ordering +in specified files. + +tty +tty prints the file name of the terminal connected to standard +input. + +uname +uname prints system information. + +unexpand +unexpand converts spaces in each file to tabs, writing to standard +output. + +uniq +uniq removes duplicate lines from a sorted file. + +uptime +uptime tells how long the system has been running. + +users +users prints the user names of users currently logged in to the +current host. + +wc +wc prints line, word and byte counts for each specified file and a +total line, if more than one file is specified. + +who +who shows who is logged on. + +whoami +whoami prints the user name associated with the current +effective user ID. + +yes +yes outputs 'y' or a given string repeatedly, +until killed. + + + + + diff --git a/appendixa/coreutils-down.xml b/appendixa/coreutils-down.xml new file mode 100644 index 000000000..b238dfe4d --- /dev/null +++ b/appendixa/coreutils-down.xml @@ -0,0 +1,6 @@ + +Official Download Location + +Coreutils (&coreutils-version;): + + diff --git a/appendixa/coreutils-shortdesc.xml b/appendixa/coreutils-shortdesc.xml new file mode 100644 index 000000000..711786ba9 --- /dev/null +++ b/appendixa/coreutils-shortdesc.xml @@ -0,0 +1,20 @@ +Contents of Coreutils + +Not yet fully checked. + +The Coreutils package contains a whole series of basic shell utilities. + +Coreutils installs the following: + +Program Files +basename, cat, chgrp, chmod, chown, chroot, cksum, comm, cp, csplit, +cut, date, dd, df, dir, dircolors, dirname, du, echo, env, expand, expr, +factor, false, fmt, fold, groups, head, hostid, hostname, id, install, join, +kill, link, ln, logname, ls, md5sum, mkdir, mkfifo, mknod, mv, nice, nl, +nohup, od, paste, pathchk, pinky, pr, printenv, printf, ptx, pwd, readlink, +rm, rmdir, seq, sha1sum, shred, sleep, sort, split, stat, stty, su, sum, sync, +tac, tail, tee, test, touch, tr, true, tsort, tty, uname, unexpand, uniq, +unlink, uptime, users, vdir, wc, who, whoami, yes + + + diff --git a/appendixa/coreutils.xml b/appendixa/coreutils.xml new file mode 100644 index 000000000..0cb99bda2 --- /dev/null +++ b/appendixa/coreutils.xml @@ -0,0 +1,11 @@ + +Coreutils + + +&aa-coreutils-down; +&aa-coreutils-shortdesc; +&aa-coreutils-desc; +&aa-coreutils-dep; + + + -- cgit v1.2.3-54-g00ecf