1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
|
--- sh/sh.1.orig 2022-10-16 15:57:08 UTC
+++ sh/sh.1
@@ -61,32 +61,25 @@
.if n .ds s sz
.TH sh 1 "2022/10/06" "Schily Bourne Shell" "User Commands"
.SH NAME
-sh, bosh, jsh \- standard and job control shell and command interpreter
+sh, bosh, jbosh \- standard and job control shell and command interpreter
.SH SYNOPSIS
.LP
.nf
-.B /usr/bin/sh\c
-.RB " [" \(miabCcefhikmnprstuvxP "] ["\c
-.IR argument ]...
-.fi
-
-.LP
-.nf
-.B /usr/bin/bosh\c
+.B bosh\c
.RB " [" \(miabCcefhikmnprstuvxP "] ["\c
.IR argument ]...
.fi
.LP
.nf
-.B /usr/bin/pbosh\c
+.B pbosh\c
.RB " [" \(miabCcefhikmnprstuvxP "] ["\c
.IR argument ]...
.fi
.LP
.nf
-.B /usr/bin/jsh\c
+.B jbosh\c
.RB " [" \(miabCcefhikmnprstuvxP "] ["\c
.IR argument ]...
.fi
@@ -95,18 +88,18 @@ sh, bosh, jsh \- standard and job control shell and co
.sp
.LP
The
-.B /usr/bin/sh
+.B bosh
utility is a command programming language that
executes commands read from a terminal or a file.
.LP
The name
.B bosh
permits to call this implementation even when
-.B /usr/bin/sh
+.B sh
has been linked to another shell.
.LP
The
-.B jsh
+.B jbosh
utility is an interface to the shell that provides all of the
functionality of
.B sh
@@ -121,7 +114,7 @@ or
Since
.B POSIX
requires that job control is auto-enabled for interactive shells,
-.B jsh
+.B jbosh
can be seen as an artefact from the historic Bourne Shell, but is kept for
compatibility.
.LP
@@ -180,7 +173,7 @@ if the file exists (by default this is the file
.BR $HOME/.shrc ).
Thereafter, commands are read as described below, which is also the case
when the shell is invoked as
-.BR /usr/bin/sh .
+.BR bosh .
.SH OPTIONS
The options below are
@@ -5827,7 +5820,7 @@ those that precede the command name.
Switch job control mode on.
All jobs are run in their own process groups.
See section
-.B "Job Control (jsh)"
+.B "Job Control (jbosh)"
below.
On systems with job control, this flag is turned on automatically
for interactive shells.
@@ -7516,7 +7509,7 @@ termination status.
The process identifier
.I n
may either be a UNIX process id or a shell job id. See
-.B "Job Control (jsh)"
+.B "Job Control (jbosh)"
section below for information on shell job ids.
.sp
The return code of
@@ -7544,11 +7537,11 @@ in the section
.B Parameter Substitution
above.
-.SS "Job Control (jsh)"
+.SS "Job Control (jbosh)"
.sp
.LP
When the shell is invoked as
-.BR jsh ,
+.BR jbosh ,
when the shell is invoked as interactive shell
or after
.B set -m
@@ -8362,7 +8355,7 @@ See
for an extended description of the behavior of
.B sh
and
-.B jsh
+.B jbosh
when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
.SH EXIT STATUS
.sp
@@ -8373,11 +8366,11 @@ execution of the shell file is abandoned. Otherwise, t
exit status of the last command executed (see also the
.B exit
command above).
-.SS "jsh Only"
+.SS "jbosh Only"
.sp
.LP
If the shell is invoked as
-.B jsh
+.B jbosh
and an attempt is made to exit the
shell while there are stopped jobs, the shell issues one warning:
.sp
@@ -8476,7 +8469,7 @@ The location of the restricted Bourne Shell binary.
See
.BR attributes (7)
for descriptions of the following attributes:
-.SS "/usr/bin/sh, /usr/bin/jsh"
+.SS "bosh, jbosh"
.sp
.sp
@@ -8509,9 +8502,6 @@ CSIEnabled
.BR ksh93 (1),
.BR login (1),
.BR newgrp (1),
-.BR pfsh (1),
-.BR pfexec (1),
-.BR privileges (7),
.BR ps (1),
.BR pwd (1),
.BR set (1),
@@ -8541,8 +8531,6 @@ CSIEnabled
.BR profile (5),
.BR attributes (7),
.BR environ (7),
-.BR largefile (7),
-.BR XPG4 (7)
.hy 1
.SH WARNINGS
.sp
|