Hacker News new | ask | show | jobs
by rmccue 5429 days ago
> Multi-letter options start with two hyphens, and each such argument must be separated with spaces.

That's something that's always annoyed me about screen; commands such as "wipe" are "screen -wipe"

1 comments

there's "find ./ -type d", also (find directories only.)
'find' is an interesting animal: it* really only has a handful of traditional option parameters, and these are of the single-dash-single-letter variety. The single-dash-word parameters are all part of its expression language for selecting filesystem objects.

* checked against /usr/bin/find on OS X 10.6.8 (which seems to lack an option parameter for printing its own version number) and GNU find 4.2.27

'find' is one of the oldest Unix programs still in common use. Its standardized arguments predate modern conventions for command line arguments.