Re: mapfile weirdness ^@ is added it would seem if output is quoted

2024-01-01 Thread Greg Wooledge
On Mon, Jan 01, 2024 at 04:38:20PM -0500, Federer Fanatic wrote: > Consider the following: > > shopt -s extdebug > mapfile -d" " < <(declare -F Results in the array MAPFILE having 3 entries with '2' entry containing the > filename > of bash function initial defining line I don't think this is co

mapfile weirdness ^@ is added it would seem if output is quoted

2024-01-01 Thread Federer Fanatic
Consider the following: shopt -s extdebug mapfile -d" " < <(declare -F /lib/x86_64-linux-gnu/libtinfo.so.6 (0x7fa3b23c8000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7fa3b21a) /lib64/ld-linux-x86-64.so.2 (0x7fa3b257d000)