On Tue, Jan 13, 2009 at 09:18:13PM -0700, Michael Torrie wrote:
> Byron Clark wrote:
> > bash:
> > for f in *; do mv $f ${f// /_}; done
> 
> It's probably best to quote "$f," no?
> 
> for f in *; do mv "$f" "${f// /_}" ; done

Oops, good catch.

-- 
Byron Clark

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to