bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Short doc for readarray synonym for mapfile needs to be updated


From: jhankins
Subject: Short doc for readarray synonym for mapfile needs to be updated
Date: Mon, 19 Sep 2016 18:27:06 -0500

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' 
-DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/local/share/locale' -DPACKAGE='bash' 
-DSHELL -DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib   -g -O2 
-Wno-parentheses -Wno-format-security
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

Description:
        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.

Repeat-By:
        $ help mapfile
        $ help readarray
Fix:
        Here is a patch for mapfile.def...I didn't know if all of the .po files 
needed

--- 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 @@
 
 $BUILTIN readarray
 $FUNCTION mapfile_builtin
-$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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]