>   Actually there is a perl 'rename' program in many packages --I suggest
> to
> read the documentation of it and decide for yourself how 'friendly'
> it'susage seems to you :-) // i.e. I do read documentations

I don't know of the perl rename program. I usually perform all of my file
system tasks with sh or bash, and sometimes even a tcsh script.

> My point was not to have different shell scripts for *each* little task.
>   I wanted a tool specifically to handle filename expansion, using the
> intuitive glob style (yes, a shell feature too :-) for the destination
> file, similar to how I match the source files. Calling it an extension of
> glob may be far fetched, but it goes in that direction.
>   By putting this all in one tool it's a snap to run commands as a test
> first, or in the debug mode, and to provide meaningful help messages upon
> failure, add some documentation,...

I didn't say you needed different shell scripts, I said that you can write
*A* script (singular) to do what you said can't be done with shell
scripting.

>   *** I like to challenge you to pick about half of the examples I gave
> (some easy/some complex) and show us the *one* shell script that does it.

Perhaps when I get some time. Unfortunately, I only have enough time to
preach the UNIX gospel this week, not any time to actually document my
point. Perhaps someone else experienced with the shell might speak up?

cheers

_______________________________________________
EUGLUG mailing list
[EMAIL PROTECTED]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to