From ee7d659d8d54c53449f7a5924f39f718f94cf1c4 Mon Sep 17 00:00:00 2001 From: "William F. Jolitz" Date: Sat, 27 Jun 1992 14:28:13 -0800 Subject: [PATCH] 386BSD 0.1 development Work on file usr/othersrc/public/shellutils-1.6/man/cat1/basename.0 Work on file usr/othersrc/public/shellutils-1.6/man/cat1/date.0 Work on file usr/othersrc/public/shellutils-1.6/man/cat1/dirname.0 Work on file usr/othersrc/public/shellutils-1.6/man/cat1/env.0 Work on file usr/othersrc/public/shellutils-1.6/man/cat1/expr.0 Work on file usr/othersrc/public/shellutils-1.6/man/cat1/groups.0 Work on file usr/othersrc/public/shellutils-1.6/man/cat1/id.0 Work on file usr/othersrc/public/shellutils-1.6/man/cat1/logname.0 Work on file usr/othersrc/public/shellutils-1.6/man/cat1/nice.0 Work on file usr/othersrc/public/shellutils-1.6/man/cat1/nohup.0 Work on file usr/othersrc/public/shellutils-1.6/man/cat1/pathchk.0 Work on file usr/othersrc/public/shellutils-1.6/man/cat1/printenv.0 Work on file usr/othersrc/public/shellutils-1.6/man/cat1/printf.0 Work on file usr/othersrc/public/shellutils-1.6/man/cat1/sleep.0 Work on file usr/othersrc/public/shellutils-1.6/man/cat1/tee.0 Work on file usr/othersrc/public/shellutils-1.6/man/cat1/test.0 Work on file usr/othersrc/public/shellutils-1.6/man/cat1/tty.0 Work on file usr/othersrc/public/shellutils-1.6/man/cat1/whoami.0 Work on file usr/othersrc/public/shellutils-1.6/man/cat1/yes.0 Co-Authored-By: Lynne Greer Jolitz Synthesized-from: 386BSD-0.1 --- .../public/shellutils-1.6/man/cat1/basename.0 | 66 ++++++ .../public/shellutils-1.6/man/cat1/date.0 | 198 ++++++++++++++++++ .../public/shellutils-1.6/man/cat1/dirname.0 | 66 ++++++ .../public/shellutils-1.6/man/cat1/env.0 | 66 ++++++ .../public/shellutils-1.6/man/cat1/expr.0 | 132 ++++++++++++ .../public/shellutils-1.6/man/cat1/groups.0 | 66 ++++++ .../public/shellutils-1.6/man/cat1/id.0 | 66 ++++++ .../public/shellutils-1.6/man/cat1/logname.0 | 66 ++++++ .../public/shellutils-1.6/man/cat1/nice.0 | 66 ++++++ .../public/shellutils-1.6/man/cat1/nohup.0 | 66 ++++++ .../public/shellutils-1.6/man/cat1/pathchk.0 | 66 ++++++ .../public/shellutils-1.6/man/cat1/printenv.0 | 66 ++++++ .../public/shellutils-1.6/man/cat1/printf.0 | 66 ++++++ .../public/shellutils-1.6/man/cat1/sleep.0 | 66 ++++++ .../public/shellutils-1.6/man/cat1/tee.0 | 66 ++++++ .../public/shellutils-1.6/man/cat1/test.0 | 132 ++++++++++++ .../public/shellutils-1.6/man/cat1/tty.0 | 66 ++++++ .../public/shellutils-1.6/man/cat1/whoami.0 | 66 ++++++ .../public/shellutils-1.6/man/cat1/yes.0 | 66 ++++++ 19 files changed, 1518 insertions(+) create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/basename.0 create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/date.0 create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/dirname.0 create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/env.0 create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/expr.0 create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/groups.0 create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/id.0 create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/logname.0 create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/nice.0 create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/nohup.0 create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/pathchk.0 create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/printenv.0 create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/printf.0 create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/sleep.0 create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/tee.0 create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/test.0 create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/tty.0 create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/whoami.0 create mode 100644 usr/othersrc/public/shellutils-1.6/man/cat1/yes.0 diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/basename.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/basename.0 new file mode 100644 index 0000000000..6181d94a9b --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/basename.0 @@ -0,0 +1,66 @@ + + + +BASENAME(1L) BASENAME(1L) + + +NNAAMMEE + basename - strip directory and suffix from filenames + +SSYYNNOOPPSSIISS + bbaasseennaammee name [suffix] + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of bbaasseennaammee. + The bbaasseennaammee command removes any leading path from _n_a_m_e; + If _s_u_f_f_i_x is specified and is identical to the end of + _n_a_m_e, it is removed from _n_a_m_e as well. bbaasseennaammee prints + the resulting name on the standard output. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/date.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/date.0 new file mode 100644 index 0000000000..ba7af507eb --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/date.0 @@ -0,0 +1,198 @@ + + + +DATE(1L) DATE(1L) + + +NNAAMMEE + date - print or set the system date and time + +SSYYNNOOPPSSIISS + ddaattee [-u] [-s new-date] [+FORMAT] [MMDDhhmm[[CC]YY][.ss]] + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of ddaattee. ddaattee + with no arguments prints the current time and date (in the + format of the `%c' directive described below). If given + an argument that starts with a `+', it prints the current + time and date in a format controlled by that argument, + which has the same format as the format string passed to + the `strftime' function. Except for directives that start + with `%', characters in that string are printed unchanged. + + The directives are: + + % a literal % + + n a newline + + t a horizontal tab + + Time fields: + + %H hour (00..23) + + %I hour (00..12) + + %M minute (00..59) + + %p locale's AM or PM + + %r time, 12-hour (hh:mm:ss [AP]M) + + %S second (00..61) + + %T time, 24-hour (hh:mm:ss) + + %X locale's time representation (%H:%M:%S) + + %Z time zone (e.g., EDT), or nothing if no time zone + is determinable + + Date fields: + + %a locale's abbreviated weekday name (Sun..Sat) + + %A locale's full weekday name, variable length (Sun- + day..Saturday) + + %b locale's abbreviated month name (Jan..Dec) + + + + + 1 + + + + + +DATE(1L) DATE(1L) + + + %B locale's full month name, variable length (Jan- + uary..December) + + %c locale's date and time (Sat Nov 04 12:02:33 EST + 1989) + + %d day of month (01..31) + + %D date (mm/dd/yy) + + %h same as %b + + %j day of year (001..366) + + %m month (01..12) + + %U week number of year with Sunday as first day of + week (00..53) + + %w day of week (0..6) + + %W week number of year with Monday as first day of + week (00..53) + + %x locale's date representation (mm/dd/yy) + + %y last two digits of year (00..99) + + %Y year (1970...) + + If given an argument that does not start with `+', ddaattee + sets the system clock to the time and date specified by + that argument. The argument must consist entirely of dig- + its, which have the following meaning: + + MM month + + DD day within month + + hh hour + + mm minute + + CC first two digits of year (optional) + + YY last two digits of year (optional) + + ss second (optional) + + Only the superuser can set the system clock. + + OOPPTTIIOONNSS + -_s _n_e_w-_d_a_t_e + Set the time and date to _n_e_w-_d_a_t_e, which can be in + + + + 2 + + + + + +DATE(1L) DATE(1L) + + + almost any common format. It can contain month + names, timezones, `am' and `pm', etc. + + -_u Print or set the time and date in Universal Coordi- + nated Time (also known as Greenwich Mean Time) + instead of in local (wall clock) time. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 + + diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/dirname.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/dirname.0 new file mode 100644 index 0000000000..ab48d22000 --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/dirname.0 @@ -0,0 +1,66 @@ + + + +DIRNAME(1L) DIRNAME(1L) + + +NNAAMMEE + dirname - strip filename suffix from pathname + +SSYYNNOOPPSSIISS + ddiirrnnaammee path + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of ddiirrnnaammee. + ddiirrnnaammee prints the leading path part of the pathname _p_a_t_h. + If _p_a_t_h does not contain a leading path, ddiirrnnaammee prints + `.' (meaning the current directory). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/env.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/env.0 new file mode 100644 index 0000000000..6cda755c56 --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/env.0 @@ -0,0 +1,66 @@ + + + +ENV(1L) ENV(1L) + + +NNAAMMEE + env - run a program in a modified environment + +SSYYNNOOPPSSIISS + eennvv [-] [-i] [-u name] [--ignore-environment] + [--unset=name] [name=value]... [command [args...]] + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of eennvv. eennvv + runs a command with an environment modified as specified + by the command line arguments. Arguments of the form + `variable=value' set the environment variable _v_a_r_i_a_b_l_e to + value _v_a_l_u_e. _v_a_l_u_e may be empty (`variable='). Setting a + variable to an empty value is different from unsetting it. + + The first remaining argument specifies a program to + invoke; it is searched for according to the specification + of the PATH environment variable. Any arguments following + that are passed as arguments to that program. + + If no command name is specified following the environment + specifications, the resulting environment is printed. + This is like specifying a command name of `printenv'. + + OOPPTTIIOONNSS + -_u, --_u_n_s_e_t _n_a_m_e + Remove variable _n_a_m_e from the environment, if it + was in the environment. + + -, -_i, --_i_g_n_o_r_e-_e_n_v_i_r_o_n_m_e_n_t + Start with an empty environment, ignoring the + inherited environment. + + The long-named options can be introduced with `+' as well + as `--', for compatibility with previous releases. Even- + tually support for `+' will be removed, because it is + incompatible with the POSIX.2 standard. + + + + + + + + + + + + + + + + + + + + + 1 + + diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/expr.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/expr.0 new file mode 100644 index 0000000000..d1577bbb50 --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/expr.0 @@ -0,0 +1,132 @@ + + + +EXPR(1L) EXPR(1L) + + +NNAAMMEE + expr - evaluate expressions + +SSYYNNOOPPSSIISS + eexxpprr expression... + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of eexxpprr. eexxpprr + evaluates an expression and writes the result on its stan- + dard output. Each token of the expression must be a sepa- + rate argument. Operands are either numbers or strings. + Strings are not quoted for eexxpprr, though you may need to + quote them to protect them from the shell. eexxpprr coerces + anything appearing in an operand position to an integer or + a string depending on the operation being applied to it. + + The operators (in order of increasing precedence) are: + + | yields its first argument if it is neither null nor + 0, otherwise its second argument. This is the + usual `or' operation. + + & yields its first argument if neither argument is + null or 0, otherwise 0. + + < <= = != >= > + compare their arguments and return `1' if the rela- + tion is true, 0 otherwise. eexxpprr tries to coerce + both arguments to numbers and do a numeric compari- + son; if it fails when trying to coerce either argu- + ment it then does a lexicographic comparison. + + + - perform arithmetic operations. Both arguments are + coerced to numbers; an error occurs if this cannot + be done. + + * / % perform arithmetic operations (`%' is the remainder + operation, as in C). Both arguments are coerced to + numbers; an error occurs if this cannot be done. + + : performs pattern matching. Its arguments are + coerced to strings and the second one is considered + to be a regular expression, with a `^' implicitly + added at the beginning. The first argument is then + matched against this regular expression. If the + match succeeds and part of the string is enclosed + in `\(' and `\)', that part is the value of the : + expression; otherwise an integer whose value is the + number of characters matched is returned. If the + match fails, the : operator returns the null string + if `\(' and `\)' are used, otherwise 0. Only one + `\(' and `\)' pair can be used. + + + + + + 1 + + + + + +EXPR(1L) EXPR(1L) + + + Parentheses are used for grouping in the usual manner. + + Examples: + + To add 1 to the shell variable _a: + + a=`expr $a + 1` + + To find the filename part of the pathname stored in vari- + able _a, which may or may not contain `/': + + expr $a : '.*/\(.*\)' '|' $a + + Note the quoted shell metacharacters. + + eexxpprr returns the following exit status: + + 0 if the expression is neither null nor 0, + 1 if the expression is null or 0, + 2 for invalid expressions. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/groups.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/groups.0 new file mode 100644 index 0000000000..3fa06f8f54 --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/groups.0 @@ -0,0 +1,66 @@ + + + +GROUPS(1L) GROUPS(1L) + + +NNAAMMEE + groups - print the groups a user is in + +SSYYNNOOPPSSIISS + ggrroouuppss [username...] + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of ggrroouuppss. + ggrroouuppss prints the names of the supplementary groups that + each given _u_s_e_r_n_a_m_e, or the current process if none are + given, is in. If user names are given, the name of each + user is printed before the list of that user's groups. + + The group lists are equivalent to the output of the com- + mand `id -Gn'. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/id.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/id.0 new file mode 100644 index 0000000000..a20133f4a8 --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/id.0 @@ -0,0 +1,66 @@ + + + +ID(1L) ID(1L) + + +NNAAMMEE + id - print real and effective UIDs and GIDs + +SSYYNNOOPPSSIISS + iidd [-gnruG] [--group] [--name] [--real] [--user] + [--groups] [username] + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of iidd. iidd + prints information about the given user, or the process + running it if no user is specified. By default, it prints + the real user ID, real group ID, effective user ID if dif- + ferent from the real user ID, effective group ID if dif- + ferent from the real group ID, and supplemental group IDs. + It prints each of these values preceded by a string iden- + tifying it and followed by the corresponding user or group + name in parentheses. + + The options cause iidd to print only part of the above + information. + + OOPPTTIIOONNSS + -_g, --_g_r_o_u_p + Print only the group ID. + + -_n, --_n_a_m_e + Print the user or group name instead of the ID num- + ber. Requires -_u, -_g, or -_G. + + -_r, --_r_e_a_l + Print the real, instead of effective, user or group + ID. Requires -_u, -_g, or -_G. + + -_u, --_u_s_e_r + Print only the user ID. + + -_G, --_g_r_o_u_p_s + Print only the supplementary groups. + + The long-named options can be introduced with `+' as well + as `--', for compatibility with previous releases. Even- + tually support for `+' will be removed, because it is + incompatible with the POSIX.2 standard. + + + + + + + + + + + + + + + 1 + + diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/logname.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/logname.0 new file mode 100644 index 0000000000..aea620b014 --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/logname.0 @@ -0,0 +1,66 @@ + + + +LOGNAME(1L) LOGNAME(1L) + + +NNAAMMEE + logname - print user's login name + +SSYYNNOOPPSSIISS + llooggnnaammee + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of llooggnnaammee. + llooggnnaammee prints the calling user's name, as found in the + file /etc/utmp, and exits with a status of 0. If there is + no /etc/utmp entry for the calling process, llooggnnaammee prints + an error message and exits with a status of 1. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/nice.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/nice.0 new file mode 100644 index 0000000000..8a5ba54b03 --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/nice.0 @@ -0,0 +1,66 @@ + + + +NICE(1L) NICE(1L) + + +NNAAMMEE + nice - run a program with modified scheduling priority + +SSYYNNOOPPSSIISS + nniiccee [-n adjustment] [-adjustment] [--adjust- + ment=adjustment] [command [arg...]] + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of nniiccee. If no + arguments are given, nniiccee prints the current sheduling + priority, which it inherited. Otherwise, nniiccee runs the + given _c_o_m_m_a_n_d with its scheduling priority adjusted. If + no _a_d_j_u_s_t_m_e_n_t is given, the priority of the command is + incremented by 10. The superuser can specify a negative + adjustment. The priority can be adjusted by nniiccee over the + range of -20 (the highest priority) to 19 (the lowest). + + OOPPTTIIOONNSS + -_n _a_d_j_u_s_t_m_e_n_t, -_a_d_j_u_s_t_m_e_n_t, --_a_d_j_u_s_t_m_e_n_t=_a_d_j_u_s_t_m_e_n_t + Add _a_d_j_u_s_t_m_e_n_t instead of 10 to the command's pri- + ority. + + The long-named options can be introduced with `+' as well + as `--', for compatibility with previous releases. Even- + tually support for `+' will be removed, because it is + incompatible with the POSIX.2 standard. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/nohup.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/nohup.0 new file mode 100644 index 0000000000..dff1264b7b --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/nohup.0 @@ -0,0 +1,66 @@ + + + +NOHUP(1L) NOHUP(1L) + + +NNAAMMEE + nohup - run a command immume to hangups, with output to a + non-tty + +SSYYNNOOPPSSIISS + nnoohhuupp command [arg...] + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of nnoohhuupp. + nnoohhuupp runs the given _c_o_m_m_a_n_d with hangup signals ignored + and the scheduling priority increased by 5, so that the + command can continue running in the background after you + log out. If the standard output is a tty, it and the + standard error are redirected so that they are appended to + the file `nohup.out'; if that cannot be written to, they + are appended to the file `$HOME/nohup.out'. If that can- + not be written to, the command is not run. + + If nnoohhuupp creates the file `nohup.out' or + `$HOME/nohup.out', it creates it with no access permis- + sions for group or other. It does not change the permis- + sions of those files if they already existed. + + nnoohhuupp does not automatically put the command it runs in + the background; you must do that explicitly, by ending the + command line with an `&'. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/pathchk.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/pathchk.0 new file mode 100644 index 0000000000..6d6b5147d3 --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/pathchk.0 @@ -0,0 +1,66 @@ + + + +PATHCHK(1L) PATHCHK(1L) + + +NNAAMMEE + pathchk - check whether pathnames are valid or portable + +SSYYNNOOPPSSIISS + ppaatthhcchhkk [-p] [--portability] path... + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of ppaatthhcchhkk. + For each _p_a_t_h, ppaatthhcchhkk prints a message if any of these + conditions are false: + o all directories in _p_a_t_h have search (execute) permission + o the length of _p_a_t_h <= the filesystem's maximum path + length + o the length of each directory in _p_a_t_h <= the filesystem's + maximum file name legnth + + The exit status is: + 0 if all path names passed all of the tests, + 1 otherwise. + + OOPPTTIIOONNSS + -_p, --_p_o_r_t_a_b_i_l_i_t_y + Instead of performing length checks on the underly- + ing filesystem, test the length of the pathname and + its components against the POSIX.1 minimum limits + for portability. Also check that the pathname con- + tains no characters not in the portable filename + character set. + + The long-named options can be introduced with `+' as well + as `--', for compatibility with previous releases. Even- + tually support for `+' will be removed, because it is + incompatible with the POSIX.2 standard. + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/printenv.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/printenv.0 new file mode 100644 index 0000000000..d7c8f43992 --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/printenv.0 @@ -0,0 +1,66 @@ + + + +PRINTENV(1L) PRINTENV(1L) + + +NNAAMMEE + printenv - print all or part of environment + +SSYYNNOOPPSSIISS + pprriinntteennvv [variable...] + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of pprriinntteennvv. + If no arguments are given, pprriinntteennvv prints the entire + environment. If one or more variable names are given, it + prints the value of each one that is set, and nothing for + each one that is not set. + + The exit status is: + 0 if all variables specified were found + 1 otherwise + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/printf.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/printf.0 new file mode 100644 index 0000000000..da11a9a2f8 --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/printf.0 @@ -0,0 +1,66 @@ + + + +PRINTF(1L) PRINTF(1L) + + +NNAAMMEE + printf - format and print data + +SSYYNNOOPPSSIISS + pprriinnttff format [argument...] + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of pprriinnttff. + pprriinnttff prints the _f_o_r_m_a_t string, interpreting `%' direc- + tives and `\' escapes in the same way as the C `printf' + function. It interprets `\0ooo' as a an octal number + (`ooo' is 0 to 3 digits) specifying a character to print, + and `\xhhh' as a hexadecimal number (`hhh' is 1 to 3 dig- + its) specifying a character to print. It has an addi- + tional escape, `\c', which causes pprriinnttff to produce no + further output, and an additional directive, `%b', which + prints its argument string with `\' escapes interpreted + the way they are in the _f_o_r_m_a_t string. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/sleep.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/sleep.0 new file mode 100644 index 0000000000..abca06a2cf --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/sleep.0 @@ -0,0 +1,66 @@ + + + +SLEEP(1L) SLEEP(1L) + + +NNAAMMEE + sleep - delay for a specified amount of time + +SSYYNNOOPPSSIISS + sslleeeepp number[smhd]... + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of sslleeeepp. + sslleeeepp pauses for an amount of time specified by the sum of + the values of the command line arguments. Each argument + is a number followed by an optional unit; the default is + seconds. The units are: + + s seconds + + m minutes + + h hours + + d days + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/tee.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/tee.0 new file mode 100644 index 0000000000..88181dfe88 --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/tee.0 @@ -0,0 +1,66 @@ + + + +TEE(1L) TEE(1L) + + +NNAAMMEE + tee - read from standard input and write to standard out- + put and files + +SSYYNNOOPPSSIISS + tteeee [-ai] [--append] [--ignore-interrupts] [file...] + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of tteeee. The + tteeee command copies the standard input to the standard out- + put and any files given as arguments. + + If a file being written to does not already exist, it is + created. If a file being written to already exists, the + data it previously contained is overwritten unless the -_a + option is used. + + OOPPTTIIOONNSS + -_a, --_a_p_p_e_n_d + Append the standard input to the given files rather + than overwriting them. + + -_i, --_i_g_n_o_r_e-_i_n_t_e_r_r_u_p_t_s + Ignore interrupt signals. + + The long-named options can be introduced with `+' as well + as `--', for compatibility with previous releases. Even- + tually support for `+' will be removed, because it is + incompatible with the POSIX.2 standard. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/test.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/test.0 new file mode 100644 index 0000000000..6422440060 --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/test.0 @@ -0,0 +1,132 @@ + + + +TEST(1L) TEST(1L) + + +NNAAMMEE + test - check file types and compare values + +SSYYNNOOPPSSIISS + tteesstt [expr] + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of tteesstt. + + tteesstt returns a status of 0 (true) or 1 (false) depending + on the evaluation of the conditional expression _e_x_p_r. + Expressions may be unary or binary. Unary expressions are + often used to examine the status of a file. There are + string operators and numeric comparison operators as well. + + --bb _f_i_l_e + True if _f_i_l_e exists and is block special. + --cc _f_i_l_e + True if _f_i_l_e exists and is character special. + --dd _f_i_l_e + True if _f_i_l_e exists and is a directory. + --ee _f_i_l_e + True if _f_i_l_e exists + --ff _f_i_l_e + True if _f_i_l_e exists and is a regular file. + --gg _f_i_l_e + True if _f_i_l_e exists and is set-group-id. + --kk _f_i_l_e + True if _f_i_l_e has its ``sticky'' bit set. + --LL _f_i_l_e + True if _f_i_l_e exists and is a symbolic link. + --pp _f_i_l_e + True if _f_i_l_e exists and is a named pipe. + --rr _f_i_l_e + True if _f_i_l_e exists and is readable. + --ss _f_i_l_e + True if _f_i_l_e exists and has a size greater than + zero. + --SS _f_i_l_e + True if _f_i_l_e exists and is a socket. + --tt [[_f_d]] + True if _f_d is opened on a terminal. If _f_d is omit- + ted, it defaults to 1 (standard output). + --uu _f_i_l_e + True if _f_i_l_e exists and its set-user-id bit is set. + --ww _f_i_l_e + True if _f_i_l_e exists and is writable. + --xx _f_i_l_e + True if _f_i_l_e exists and is executable. + --OO _f_i_l_e + True if _f_i_l_e exists and is owned by the effective + user id. + --GG _f_i_l_e + True if _f_i_l_e exists and is owned by the effective + + + + 1 + + + + + +TEST(1L) TEST(1L) + + + group id. + _f_i_l_e_1 -nntt _f_i_l_e_2 + True if _f_i_l_e_1 is newer (according to modification + date) than _f_i_l_e_2. + _f_i_l_e_1 -oott _f_i_l_e_2 + True if _f_i_l_e_1 is older than file2. + _f_i_l_e_1 --eeff _f_i_l_e + True if _f_i_l_e_1 and _f_i_l_e_2 have the same device and + inode numbers. + --zz _s_t_r_i_n_g + True if the length of _s_t_r_i_n_g is zero. + --nn _s_t_r_i_n_g + _s_t_r_i_n_g True if the length of _s_t_r_i_n_g is non-zero. + _s_t_r_i_n_g_1 == _s_t_r_i_n_g_2 + True if the strings are equal. + _s_t_r_i_n_g_1 !!== _s_t_r_i_n_g_2 + True if the strings are not equal. + !! _e_x_p_r True if _e_x_p_r is false. + _e_x_p_r_1 -aa _e_x_p_r_2 + True if both _e_x_p_r_1 and _e_x_p_r_2 are true. + _e_x_p_r_1 -oo _e_x_p_r_2 + True if either _e_x_p_r_1 or _e_x_p_r_2 is true. + _a_r_g_1 OOPP _a_r_g_2 + OOPP is one of --eeqq, --nnee, --lltt, --llee, --ggtt, or --ggee. + These arithmetic binary operators return true if + _a_r_g_1 is equal, not-equal, less-than, less-than-or- + equal, greater-than, or greater-than-or-equal than + _a_r_g_2, respectively. _a_r_g_1 and _a_r_g_2 may be positive + integers, negative integers, or the special expres- + sion --ll _s_t_r_i_n_g, which evaluates to the length of + _s_t_r_i_n_g. + + + + + + + + + + + + + + + + + + + + + + + + + + + 2 + + diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/tty.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/tty.0 new file mode 100644 index 0000000000..4f3eadb9f5 --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/tty.0 @@ -0,0 +1,66 @@ + + + +TTY(1L) TTY(1L) + + +NNAAMMEE + tty - print the path of the terminal connected to standard + input + +SSYYNNOOPPSSIISS + ttttyy [-s] [--silent] [--quiet] + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of ttttyy. ttttyy + prints the path name of the tty connected to its standard + input. It prints `not a tty' if the standard input is not + a tty. Its exit status is: + 0 if the standard input is a tty + 1 if the standard input is not a tty + 2 if given incorrect arguments + + OOPPTTIIOONNSS + -_s, --_s_i_l_e_n_t, --_q_u_i_e_t + Print nothing; only return an exit status. + + The long-named options can be introduced with `+' as well + as `--', for compatibility with previous releases. Even- + tually support for `+' will be removed, because it is + incompatible with the POSIX.2 standard. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/whoami.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/whoami.0 new file mode 100644 index 0000000000..917cd3c19f --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/whoami.0 @@ -0,0 +1,66 @@ + + + +WHOAMI(1L) WHOAMI(1L) + + +NNAAMMEE + whoami - print effective userid + +SSYYNNOOPPSSIISS + wwhhooaammii + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of wwhhooaammii. + wwhhooaammii prints the user name associated with the current + effective user ID. It is equivalent to the command `id + -un'. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + diff --git a/usr/othersrc/public/shellutils-1.6/man/cat1/yes.0 b/usr/othersrc/public/shellutils-1.6/man/cat1/yes.0 new file mode 100644 index 0000000000..06e3551916 --- /dev/null +++ b/usr/othersrc/public/shellutils-1.6/man/cat1/yes.0 @@ -0,0 +1,66 @@ + + + +YES(1L) YES(1L) + + +NNAAMMEE + yes - output a string repeatedly until killed + +SSYYNNOOPPSSIISS + yyeess [string...] + +DDEESSCCRRIIPPTTIIOONN + This manual page documents the GNU version of yyeess. yyeess + prints the command line arguments, separated by spaces and + followed by a newline, forever until it is killed. If no + arguments are given, it prints `y' followed by a newline + forever until killed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + -- 2.20.1