Works for me, however I did forget to quote $x in original example.
That would do it. for x in *; do mv "$x" ${x// /}; done removes the spaces, but only works in bash 2. :(
- : send the line "unsubscribe linux-admin" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html