External lib unittests: they're killin me!
Steven Schveighoffer
schveiguy at yahoo.com
Thu May 23 12:02:53 PDT 2013
On Thu, 23 May 2013 13:47:25 -0400, H. S. Teoh <hsteoh at quickfur.ath.cx>
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
More information about the Digitalmars-d
mailing list