[dev]

From: Martin Kühne <mysatyre_AT_gmail.com>
Date: Thu, 8 Sep 2016 16:13:35 +0200

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
Received on Thu Sep 08 2016 - 16:13:35 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 08 2016 - 16:24:14 CEST