> i'm no posix expert, but that looks strange to me. changing that to > 'for file in $@; do' ... works, and seems to be more "standard".. According to POSIX, specifying no "in" is equivalent to for file in "$@" I do imagine that the explicit specification is more portable though.