...Using echo to output an unquoted variable set with command substitution removes trailing newlines characters from the output of the reassigned command(s). This can cause unpleasant surprises. ...
... et dans ce royaume, ceux qui y voient un peu plus clair sont parfois très mal vus.
# Using echo to output an unquoted variable...
Posté par MicP . En réponse au message Etrange comportement de "echo". Évalué à 2.
http://tldp.org/LDP/abs/html/commandsub.html : "Chapter 12. Command Substitution"
... et dans ce royaume, ceux qui y voient un peu plus clair sont parfois très mal vus.