[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-bash] Is read -d '' officially supported?
From: |
Ulrich Mueller |
Subject: |
Re: [Help-bash] Is read -d '' officially supported? |
Date: |
Sun, 30 Oct 2016 19:47:36 +0100 |
>>>>> On Sun, 30 Oct 2016, Chet Ramey wrote:
> On 10/30/16 12:43 PM, Eduardo Bustamante wrote:
>> It is not documented behavior, but it is certainly relied upon by many
>> to process NUL delimited input streams:
>> http://mywiki.wooledge.org/BashFAQ/001
>>
>> So I wouldn't call it undefined behavior.
> https://lists.gnu.org/archive/html/bug-bash/2016-01/msg00121.html
I had hoped for a more straight forward answer than "You do have to
understand how C strings work and how they are used when passing
arguments to commands for it to make sense." :)
Can we rely on -d '' as supported/documented behaviour?