Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



It'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.


But it isn't a kludge, you are supposed to use it for all files, you are just granted the option of not.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: