0

Why does this program return a?

$ cd /tmp
$ touch a
$ echo '[1a1]' | while read i; do echo $i; done
a

There is probably some globbing going on. But I don't understand it at all.

Karel
  • 1,468

0 Answers0