7 ms·
One thing that I’ve noticed: On UNIX, expanding globs (*.txt) is the shell’s job. On Windows, expanding globs is the program’s job. I used to have a bunch of
by adiabatty 2y ago
One thing that I’ve noticed:
On UNIX, expanding globs (*.txt) is the shell’s job.
On Windows, expanding globs is the program’s job.
I used to have a bunch of four-line Python programs to, essentially, run `flac --best --replay-gain *.wav`.
- zokier 2y agoOn Unix programs get arguments as array of strings. On Windows programs get command line as single string. Strictly speaking that does not explain where globbing happens, but it does help understanding where they come from.