Once, I've learned that options of Linux commands came in two manners:
- those of one letter, prefixed by a
- - those of many letters, prefixed by a
--
And this works in 95% of the cases.
But not, for example, for the find command. This one fails:
find . --name myfilename
And this one is working:
find . -name myfilename
Either I'm wrong with my belief that options start by - or -- depending on their number of letters,
Either find command should, I agree, retain for compatibility it's ability to run with the -name option, but it should also accept the --name option.
What's the truth ?