Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!usenet.stanford.edu!not-for-mail From: Greg Wooledge Newsgroups: gnu.bash.bug Subject: Re: redirecting a file descriptor to an array variable? Possible? How? RFE? Date: Wed, 18 Nov 2015 13:56:29 -0500 Lines: 12 Approved: bug-bash@gnu.org Message-ID: References: <564532BD.60801@tlinx.org> <564CC7A1.9090004@tlinx.org> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: usenet.stanford.edu 1447872999 22947 208.118.235.17 (18 Nov 2015 18:56:39 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash To: Linda Walsh Envelope-to: bug-bash@gnu.org Content-Disposition: inline In-Reply-To: <564CC7A1.9090004@tlinx.org> User-Agent: Mutt/1.4.2.3i X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 139.137.100.1 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:11907 On Wed, Nov 18, 2015 at 10:46:57AM -0800, Linda Walsh wrote: > One thing that seems to be another problem. Greg called > my attention to another printf format bug: > > %q causes printf to output the corresponding argument in > a > format that can be reused as shell input. > > Which it doesn't when nuls are involved. An argument cannot contain a NUL byte. So it's moot.