Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111807918
D45073.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
748 B
Referenced Files
None
Subscribers
None
D45073.diff
View Options
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd February 27, 2025
+.Dd March 10, 2025
.Dt SH 1
.Os
.Sh NAME
@@ -238,11 +238,9 @@
tested, all commands of the function are considered to be tested as
well.
.Pp
-It is recommended to check for failures explicitly
-instead of relying on
-.Fl e
-because it tends to behave in unexpected ways,
-particularly in larger scripts.
+Note that many commands return non-zero values to convey information other
+than errors, which can cause unexpected program termination with
+.Fl e .
.It Fl f Li noglob
Disable pathname expansion.
.It Fl h Li trackall
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 9, 4:14 PM (1 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17029864
Default Alt Text
D45073.diff (748 B)
Attached To
Mode
D45073: sh(1): Replace recommendation of use of -e with a note
Attached
Detach File
Event Timeline
Log In to Comment