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