Eric Blake <eblake <at> redhat.com> writes: > > But you missed that: > > $(date +'%Y-%m-%d') > > is an entire word (basically, an unquoted $ character consumes until the > end of the shell substitution, command substitution, or arithmetic > substitution, and that entire scan becomes part of the current word being > parsed). >
Thank you Eric and Chris. The link to the POSIX section on Token Recognition really helped my understanding. I don't think I missed anything in the Bash Reference Manual that explains this. Allen