summaryrefslogtreecommitdiff
path: root/bin/ksh/sh.1
diff options
context:
space:
mode:
authorVadim Zhukov <zhuk@cvs.openbsd.org>2015-03-19 22:38:29 +0000
committerVadim Zhukov <zhuk@cvs.openbsd.org>2015-03-19 22:38:29 +0000
commit6addc8d396413dbaadfa08fdaf93c00e2783b991 (patch)
treea517156250cee6e6e34c3f1f9f723dbafc7a45ef /bin/ksh/sh.1
parent5b36aa52345313760f1ef58b2f68e98b5a2b7139 (diff)
Fix IFS description. May be polished further when all consequences of
following "null is the same as empty" from POSIX are investigated. okay jmc@
Diffstat (limited to 'bin/ksh/sh.1')
-rw-r--r--bin/ksh/sh.111
1 files changed, 9 insertions, 2 deletions
diff --git a/bin/ksh/sh.1 b/bin/ksh/sh.1
index a980a637eb0..d15a15815e7 100644
--- a/bin/ksh/sh.1
+++ b/bin/ksh/sh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sh.1,v 1.117 2015/03/19 22:34:59 zhuk Exp $
+.\" $OpenBSD: sh.1,v 1.118 2015/03/19 22:38:28 zhuk Exp $
.\"
.\" Copyright (c) 2015 Jason McIntyre <jmc@openbsd.org>
.\"
@@ -1416,7 +1416,14 @@ is used to split fields;
any
.Ev IFS
characters at the beginning and end of input are ignored.
-If the value of
+If
+.Ev IFS
+is unset, the default value consisting of
+.Aq space ,
+.Aq tab
+and
+.Aq newline
+is used; if the value of
.Ev IFS
is null, no field splitting is performed.
.Pp