bug-bash
[Top][All Lists]
Advanced

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

Variables can’t contain NUL


From: Garreau, Alexandre
Subject: Variables can’t contain NUL
Date: Sun, 20 May 2018 04:56:48 +0200
User-agent: Gnus (5.13), GNU Emacs 25.1.1 (x86_64-pc-linux-gnu)

On 2015-11-13 at 07:17, Greg Wooledge wrote:
> Actually in the most general case, where those output streams may
> contain NUL bytes, it requires two temp files, because you can't store
> arbitrary data streams in bash variables at all.

Why do bash variables use 0-terminated arrays instead of arrays structure
with a length attribute?



reply via email to

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