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 /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
