On Sun, Apr 17, 2011 at 04:44:57PM -0700, Rich Shepard wrote: > I have two directories of images where each file name has spaces between > the words. I'm not having success writing a shell script that takes each > name in sequence, removes the white spaces, and leaves the extension as-is. > I'm certain that this can be done in perl, python, ruby, scheme, awk, sed, > and so on. I believe that a shell script would be a one-liner.
Shell typically does this in a one liner by calling awk, sed, Perl ... But since you're not interested in those options it makes it difficult to suggest a solution. -- Michael Rasmussen, Portland Oregon Trading kilograms for kilometers since 2003 Be appropriate && Follow your curiosity http://www.jamhome.us/ The Fortune Cookie Fortune today is: Welcome to another helping of Kenny & Zuke's delicious spam. We make it ourselves. You ordered it, so take a minute to read through what's new at the restaurant. ~ http://kennyandzukes.com/ _______________________________________________ PLUG mailing list PLUG@lists.pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug