Configuration Information [Automatically generated, do not change]:
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2
uname output: Linux jh2 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC
2016 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-unknown-linux-gnu
Bash Version: 4.4
Patch Level: 0
Release Status: release
bash-4.4 mapfile supports -d DELIM, and the short doc in the help has
been updated to reflect this. However, the short doc for the readarray synonym
hasn't been updated.
$ help mapfile
$ help readarray
Here is a patch for mapfile.def...I didn't know if all of the .po files
--- bash-4.4/builtins/mapfile.def.orig 2016-09-19 18:21:04.350497510 -0500
+++ bash-4.4/builtins/mapfile.def 2016-09-19 18:21:53.760427393 -0500
@@ -59,7 +59,7 @@
-$SHORT_DOC readarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C
callback] [-c quantum] [array]
+$SHORT_DOC readarray [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd]
[-C callback] [-c quantum] [array]
Read lines from a file into an array variable.
A synonym for `mapfile'.
This e-mail is intended only for the recipient and may contain confidential
or proprietary information. If you are not the intended recipient, the
review, distribution, duplication or retention of this message and its
attachments is prohibited. Please notify the sender of this error
immediately by reply e-mail, and permanently delete this message and its
attachments in any form in which they may have been preserved.