diff options
author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2006-07-26 06:48:18 +0000 |
---|---|---|
committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2006-07-26 06:48:18 +0000 |
commit | 108459221fff049c78586074534ae1980b96bad3 (patch) | |
tree | e77f97aeb6e1c2c6257bd516780758d01aca5fe9 /bin/sh | |
parent | d95eaaf3ed5c8dd4f24df8c50f9a38735ec3b660 (diff) | |
download | src-108459221fff049c78586074534ae1980b96bad3.tar.gz src-108459221fff049c78586074534ae1980b96bad3.zip |
Make it easier to find that we have test(1) built-in in sh(1).
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=160694
Diffstat (limited to 'bin/sh')
-rw-r--r-- | bin/sh/sh.1 | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index 13d3517345a8..ae0c6ec4c59a 100644 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -32,7 +32,7 @@ .\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95 .\" $FreeBSD$ .\" -.Dd June 21, 2006 +.Dd July 26, 2006 .Dt SH 1 .Os .Sh NAME @@ -1361,9 +1361,8 @@ This section lists the commands which are built-in because they need to perform some operation that cannot be performed by a separate process. In addition to -these, a built-in version of the -.Xr test 1 -command is provided for efficiency. +these, built-in versions of essential utilities +are provided for efficiency. .Bl -tag -width indent .It Ic \&: A null command that returns a 0 (true) exit value. @@ -1385,6 +1384,9 @@ for the file. If it is not found in the .Ev PATH , it is sought in the current working directory. +.It Ic \&[ +A built-in equivalent of +.Xr test 1 . .It Ic alias Oo Ar name Ns Oo = Ns Ar string Oc ... Oc If .Ar name Ns = Ns Ar string @@ -1961,6 +1963,9 @@ A shift sets the value of $1 to the value of $2, the value of $2 to the value of $3, and so on, decreasing the value of $# by one. If there are zero positional parameters, shifting does not do anything. +.It Ic test +A built-in equivalent of +.Xr test 1 . .It Ic times Print the amount of time spent executing the shell and its children. The first output line shows the user and system times for the shell |