>How do I disable word-splitting in a bash script? >Using the following script: > >for img in `ls *.jpg` >do > echo $img >done Try: for img in *.jpg do ... done