diff options
author | tjr <tjr@FreeBSD.org> | 2002-07-21 06:49:14 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-07-21 06:49:14 +0000 |
commit | bd9024b4d748fdf8b2fdc9b4c5cf222eea49fa8d (patch) | |
tree | a9cd2caa8beff88d0765790474945dc86e7075f2 /bin/sh/sh.1 | |
parent | fa4e4420cdeea4bdadf587a9c9efbce460933b47 (diff) | |
download | FreeBSD-src-bd9024b4d748fdf8b2fdc9b4c5cf222eea49fa8d.zip FreeBSD-src-bd9024b4d748fdf8b2fdc9b4c5cf222eea49fa8d.tar.gz |
Implement the P1003.2 `command' builtin command, which is used to suppress
shell function and alias lookup. The -p option has been implemented, the
UPE -v and -V options have not. The old `command' command has been renamed
to `builtin'.
Diffstat (limited to 'bin/sh/sh.1')
-rw-r--r-- | bin/sh/sh.1 | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index 20a9664..369b5f3 100644 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -1274,7 +1274,7 @@ suitable for reinput to the shell. Continue the specified jobs (or the current job if no jobs are given) in the background. -.It Ic command Ar cmd Op Ar arg ... +.It Ic builtin Ar cmd Op Ar arg ... Execute the specified builtin command, .Ar cmd . This is useful when the user wishes to override a shell function @@ -1333,6 +1333,26 @@ A synonym for the .Ic cd builtin command. .It Xo +.Ic command +.Op Fl p +.Oo +.Ar utility +.Op Ar argument ... +.Oc +.Xc +Execute the specified +.Ar utility +as a simple command (see the +.Sx Simple Commands +section). +.Pp +If the +.Fl p +option is specified, the command search is performed using a +default value of +.Ev PATH +that is guaranteed to find all of the standard utilities. +.It Xo .Ic echo .Op Fl e | Fl n .Op Ar string |