On Thu, Aug 18, 2011 at 10:13:45AM -0700, Linda Walsh wrote: > Um...the description from "<<<", above indicates it is...subject > to pathname expansion...If I had matching filesin my dir, it > expanded and returned them, > so I'm pretty sure it does PN expansion.
As noted, you're being fooled by not quoting the variable, which is
expanded in the echo and not in the <<< operation.
$ rm *.x
$ touch foo.x bar.x
$ read a <<< *.x
$ echo "$a"
*.x
$ echo $a
bar.x foo.x
Ken
