Vim question

Byron Clark byron at theclarkfamily.name
Tue Jan 13 21:30:46 MST 2009


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



More information about the PLUG mailing list