On Sun, Apr 17, 2011 at 06:08:35PM -0700, Michael Rasmussen wrote:
> 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.
It's been pointed out that I mis-read the original post.
Having gone back and re-read the original I see that indeed I did.
My apologies to Rich for misconstruing his request and openness to solution
implementations.
--
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:
Alcohol, hashish, prussic acid, strychnine are weak dilutions.
The surest poison is time.
~ Emerson, "Society and Solitude"
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug