On Thu, 23 May 2013 13:47:25 -0400, H. S. Teoh <[email protected]>
wrote:
This reasoning breaks down when the program needs two or more large
argument lists. On Windows/MSDOS, you could do things like "rename
*.jpeg *.jpg" and it would do the right thing, but this is an utter PITA
on Linux: mv doesn't support it, and even a program that *does* support
it requires escaping to prevent shell interpolation, thus requiring
infelicities like "mv \*.jpeg \*.jpg".
This is a HORRIBLE interface. You are using a wildcard to mean a back
reference. I don't think that's a benefit, and it's actually a good
example of why the shell should be your direct interface, not the program
itself.
-Steve