bug-bash
[Top][All Lists]
Advanced

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

Feature request: NUL delimiter for mapfile/readarray


From: Charles Duffy
Subject: Feature request: NUL delimiter for mapfile/readarray
Date: Tue, 12 Mar 2013 10:16:25 -0500

Howdy --

Right now, mapfile isn't suitable for any case where arbitrary C strings
need to be read -- which is the case when handling filenames,
serializing/deserializing arbitrary command-line parameters, and many other
such situations.

Is there any chance of getting a -d '' (akin to read) or -0 (GNU
convention) option to allow NULs to be used? This significantly decreases
the number of places where I can use mapfile.

Thanks,
-- Charles


reply via email to

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