1
0
Fork 0
bash/tests/mapfile2.sub
Daniel Baumann fa1b3d3922
Adding upstream version 5.2.37.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 06:49:21 +02:00

6 lines
142 B
Text

# test mapfile -d DELIM functionality added after bash-4.3
printf "abc\0def\0ghi\0jkl\0" | {
mapfile -C echo -c 1 -d '' A
echo "${A[@]}"
}