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

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

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

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

28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
34.\"
35.\" @(#)sh.1 8.6 (Berkeley) 5/4/95
36.\" $Id: sh.1,v 1.7 1996/09/01 10:21:39 peter Exp $
36.\" $Id: sh.1,v 1.8 1996/09/03 14:15:59 peter Exp $
37.\"
38.na
39.TH SH 1
40.SH NAME
41sh \- command interpreter (shell)
42.SH SYNOPSIS
37.\"
38.na
39.TH SH 1
40.SH NAME
41sh \- command interpreter (shell)
42.SH SYNOPSIS
43sh [-/+aCefnuvxIimsVEb] [-/+o longname] [arg ...]
43sh [-/+aCefnpuvxIimsVEb] [-/+o longname] [arg ...]
44.SH DESCRIPTION
45.LP
46Sh is the standard command interpreter for the system.
47The current version of sh is in the process of being changed to
48conform with the POSIX 1003.2 and 1003.2a specifications for
49the shell. This version has many features which make it appear
50similar in some respects to the Korn shell, but it is not a Korn
51shell clone (run GNU's bash if you want that). Only features

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

154-f noglob
155Disable pathname expansion.
156.TP
157-n noexec
158If not interactive, read commands but do not
159execute them. This is useful for checking the
160syntax of shell scripts.
161.TP
44.SH DESCRIPTION
45.LP
46Sh is the standard command interpreter for the system.
47The current version of sh is in the process of being changed to
48conform with the POSIX 1003.2 and 1003.2a specifications for
49the shell. This version has many features which make it appear
50similar in some respects to the Korn shell, but it is not a Korn
51shell clone (run GNU's bash if you want that). Only features

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

154-f noglob
155Disable pathname expansion.
156.TP
157-n noexec
158If not interactive, read commands but do not
159execute them. This is useful for checking the
160syntax of shell scripts.
161.TP
162-p privileged
163Turn on privileged mode. This mode is enabled on startup
164if either the effective user or group id is not equal to the
165real user or group id. Turning this mode off sets the
166effective user and group ids to the real user and group ids.
167Also on interactive shells and when enabled, this mode sources
168/etc/suid_profile (instead of ~/.profile) after /etc/profile
169and ignores the contents of the \fBENV\fP variable.
170.TP
162-u nounset
163Write a message to standard error when attempting
164to expand a variable that is not set, and if the
165shell is not interactive, exit immediately.
166(UNIMPLEMENTED for 4.4alpha)
167.TP
168-v verbose
169The shell writes its input to standard error

--- 1205 unchanged lines hidden ---
171-u nounset
172Write a message to standard error when attempting
173to expand a variable that is not set, and if the
174shell is not interactive, exit immediately.
175(UNIMPLEMENTED for 4.4alpha)
176.TP
177-v verbose
178The shell writes its input to standard error

--- 1205 unchanged lines hidden ---