On Wed, Oct 30, 2013 at 08:01:02AM +0000, Peggy Russell wrote:
> A variation:
>  
> shopt -s nullglob
> for f in ${1:-.}/*; do
>   if [[ "${f}" != *-IGN-* ]];
>     then printf -- '%s\n' "${f}"
>   fi
> done

You missed one set of quotes:

  for f in "${1:-.}"/*; do

Reply via email to