atelszewski at gmail.com
Sat Sep 12 09:23:54 UTC 2015
I'm sorry to bother you again, it's not a bashism, but I thought I'll
share my finding with you.
I have never read my shell's manual (probably applies to all the shells)
and I was shocked by this behavior, particularly because I spent couple
of hours debugging my script. I should have read my shell's manual, sigh...
Basically, command substitution $() removes trailing newlines...
I found it, when I was trying to check MD5 sum of variable, that
contained 2 trailing newlines at the end.
Hope this helps.
More information about the SlackBuilds-users