3 ms·
Agree, but don't like your rm example. rm -- just means end of args, and it can conveniently be left off. That's not a kludge, it's a feature. A feature that
by b112 4y ago
Agree, but don't like your rm example.
rm -- just means end of args, and it can conveniently be left off. That's not a kludge, it's a feature.
A feature that many command line utils (GNU grep) support.
- legends2k 4y agoIt's kludge since you are special casing for some files and not for others e.g. rm abc vs rm -- -xyz. If Unix utilities had a different form of specifying args which didn't meddle/overlap with file names this kludge wouldn't have to exist.
- b112 4y agoBut it isn't a kludge, you are supposed to use it for all files, you are just granted the option of not.