On 4/26/24 5:36 PM, Lawrence Velázquez wrote:
Both the manual [1] and man page [2] state:The words between the [[ and ]] do not undergo word splitting and filename expansion. The shell performs tilde expansion, parameter and variable expansion, arithmetic expansion, command substitution, process substitution, and quote removal on those words (the expansions that would occur if the words were enclosed in double quotes). However, the parenthetical is misleading because tilde expansion and process substitution don't occur within double quotes. (I just helped an IRC user who'd been confused by this text.)
Yes, the parenthesized text is wrong. I can't remember why I added it. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature