in reply to Re^2: Fix wildcard arguments under MSWin
in thread Fix wildcard arguments under MSWin
That's true.
The test was actually there on purpose. I had scripts that I ran under MS and Unix. With the test I reduced the number of calls to glob when the command line was expanded properly. This made a significant difference in some of my code.
I originally had an OS check in there, that I dropped when I started typing this into code. I then used the ternary test to correct for slow reactions on some Unix.
Probably in the usual case this would be better. It's certainly easier to remember.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Fix wildcard arguments under MSWin
by Aristotle (Chancellor) on Aug 02, 2003 at 20:46 UTC | |
by gwadej (Chaplain) on Aug 02, 2003 at 21:17 UTC |