Vim question

Matthew Walker mwalker at kydance.net
Tue Jan 13 21:16:01 MST 2009


On Tue, January 13, 2009 8:41 pm, Alec Shaw wrote:
> Actually as I think about it maybe a bash or ksh (after years of use ksh
> is still my preferred shell) script
> would be better.  Maybe a "for f in *; do mv $f $g; done" but how do I
> get $g from $f with spaces substituted?

Sounds like a good spot to use awk to me. Not sure how off the top of my head, but that
tool is darn near as powerful as perl, and I'm sure it's doable. :)

-- 
Matthew Walker
Kydance Hosting & Consulting, Inc. - http://www.kydance.net/
PHP, Perl, and Web Development - Linux Server Administration



More information about the PLUG mailing list