for loop parsing of ls and the magic behind *
for loop parsing of ls and the magic behind * I know that the following is bad: for i in `ls -1 *.MOV` ;do … and that the proper syntax is for i in *.MOV ;do … But what are the mechanics behind it? I mean, what part of *.MOV tells the for command that …