about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2023-06-26 16:52:40 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2023-06-26 16:52:40 +0900
commit1b9bc3441ca0e6d155243084d6e7b98925dc02cb (patch)
tree5d2d1da390e86c628ec0248eb8bc9c9df5d49d7f /Doc/Zsh
parent4345eed1fe5dd6c881b948331cfa8f4a48beda42 (diff)
downloadzsh-1b9bc3441ca0e6d155243084d6e7b98925dc02cb.tar.gz
zsh-1b9bc3441ca0e6d155243084d6e7b98925dc02cb.tar.xz
zsh-1b9bc3441ca0e6d155243084d6e7b98925dc02cb.zip
51884: reset IFS if it contains invalid characters
This happens only if MULTIBYTE option is on.
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/params.yo7
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo
index 57d10b8bd..e0410d673 100644
--- a/Doc/Zsh/params.yo
+++ b/Doc/Zsh/params.yo
@@ -1325,15 +1325,18 @@ Internal field separators (by default space, tab, newline and NUL), that
 are used to separate words which result from
 command or parameter expansion and words read by
 the tt(read) builtin.  Any characters from the set space, tab and
-newline that appear in the IFS are called em(IFS white space).
+newline that appear in the tt(IFS) are called em(IFS white space).
 One or more IFS white space characters or one non-IFS white space
 character together with any adjacent IFS white space character delimit
 a field.  If an IFS white space character appears twice consecutively
-in the IFS, this character is treated as if it were not an IFS white
+in the tt(IFS), this character is treated as if it were not an IFS white
 space character.
 
 If the parameter is unset, the default is used.  Note this has
 a different effect from setting the parameter to an empty string.
+
+If tt(MULTIBYTE) option is on and tt(IFS) contains invalid characters in
+the current locale, it is reset to the default.
 )
 vindex(KEYBOARD_HACK)
 item(tt(KEYBOARD_HACK))(