summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/sh/sh.15
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1
index e970e7d..fbe3d81 100644
--- a/bin/sh/sh.1
+++ b/bin/sh/sh.1
@@ -32,7 +32,7 @@
.\" from: @(#)sh.1 8.6 (Berkeley) 5/4/95
.\" $FreeBSD$
.\"
-.Dd September 21, 2014
+.Dd November 7, 2014
.Dt SH 1
.Os
.Sh NAME
@@ -2516,7 +2516,8 @@ and so on,
decreasing the value of
.Li $#
by one.
-If there are zero positional parameters, shifting does not do anything.
+For portability, shifting if there are zero positional parameters
+should be avoided, since the shell may abort.
.It Ic test
A built-in equivalent of
.Xr test 1 .
OpenPOWER on IntegriCloud