Deleted Added
full compact
sh.1 (215210) sh.1 (215520)
1.\"-
2.\" Copyright (c) 1991, 1993
3.\" The Regents of the University of California. All rights reserved.
4.\"
5.\" This code is derived from software contributed to Berkeley by
6.\" Kenneth Almquist.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95
1.\"-
2.\" Copyright (c) 1991, 1993
3.\" The Regents of the University of California. All rights reserved.
4.\"
5.\" This code is derived from software contributed to Berkeley by
6.\" Kenneth Almquist.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95
33.\" $FreeBSD: head/bin/sh/sh.1 215210 2010-11-12 22:40:18Z jilles $
33.\" $FreeBSD: head/bin/sh/sh.1 215520 2010-11-19 12:56:13Z jilles $
34.\"
34.\"
35.Dd November 12, 2010
35.Dd November 19, 2010
36.Dt SH 1
37.Os
38.Sh NAME
39.Nm sh
40.Nd command interpreter (shell)
41.Sh SYNOPSIS
42.Nm
43.Op Fl /+abCEefIimnPpTuVvx

--- 2000 unchanged lines hidden (view full) ---

2044If the
2045.Fl s
2046option is specified, only the PIDs of the job commands are printed, one per
2047line.
2048.It Ic local Oo Ar variable ... Oc Op Fl
2049See the
2050.Sx Functions
2051subsection.
36.Dt SH 1
37.Os
38.Sh NAME
39.Nm sh
40.Nd command interpreter (shell)
41.Sh SYNOPSIS
42.Nm
43.Op Fl /+abCEefIimnPpTuVvx

--- 2000 unchanged lines hidden (view full) ---

2044If the
2045.Fl s
2046option is specified, only the PIDs of the job commands are printed, one per
2047line.
2048.It Ic local Oo Ar variable ... Oc Op Fl
2049See the
2050.Sx Functions
2051subsection.
2052.It Ic printf
2053A built-in equivalent of
2054.Xr printf 1 .
2052.It Ic pwd Op Fl L | P
2053Print the path of the current directory.
2054The built-in command may
2055differ from the program of the same name because the
2056built-in command remembers what the current directory
2057is rather than recomputing it each time.
2058This makes
2059it faster.

--- 405 unchanged lines hidden (view full) ---

2465builtin is used with a numeric argument, it
2466will return the argument.
2467.Sh SEE ALSO
2468.Xr builtin 1 ,
2469.Xr chsh 1 ,
2470.Xr echo 1 ,
2471.Xr ed 1 ,
2472.Xr emacs 1 ,
2055.It Ic pwd Op Fl L | P
2056Print the path of the current directory.
2057The built-in command may
2058differ from the program of the same name because the
2059built-in command remembers what the current directory
2060is rather than recomputing it each time.
2061This makes
2062it faster.

--- 405 unchanged lines hidden (view full) ---

2468builtin is used with a numeric argument, it
2469will return the argument.
2470.Sh SEE ALSO
2471.Xr builtin 1 ,
2472.Xr chsh 1 ,
2473.Xr echo 1 ,
2474.Xr ed 1 ,
2475.Xr emacs 1 ,
2476.Xr printf 1 ,
2473.Xr pwd 1 ,
2474.Xr test 1 ,
2475.Xr vi 1 ,
2476.Xr execve 2 ,
2477.Xr getrlimit 2 ,
2478.Xr umask 2 ,
2479.Xr editrc 5
2480.Sh HISTORY

--- 24 unchanged lines hidden ---
2477.Xr pwd 1 ,
2478.Xr test 1 ,
2479.Xr vi 1 ,
2480.Xr execve 2 ,
2481.Xr getrlimit 2 ,
2482.Xr umask 2 ,
2483.Xr editrc 5
2484.Sh HISTORY

--- 24 unchanged lines hidden ---