Bash really is a special little snowflake.
The space trimming feature, as I recently discovered is made available
for all but the implicit REPLY.

$ read -r <<<"   TEST   "; printf '<%s>\n' "$REPLY"
<   TEST   >
$ read -r REPLY <<<"   TEST   "; printf '<%s>\n' "$REPLY"
<TEST>

As a heavy user of bash and freenode #bash padawan, I must say that
I'd be very in favor of keeping bash out of suckless.
It's a good learning instrument wrt this kind of nitpickery which is
useful for discussing the C standard, but it's definitely not
suckless.

cheers!
mar77i

Reply via email to