I find the synopsis of Find's manual difficult to read
Let's assume that you are finding directories with 777 permissions. Pixelbeat's suggestion is
find -type d ! -perm -777
My OS/X gives the following
find: illegal option -- t find: illegal option -- y find: illegal option -- p find: illegal option -- e find: d: No such file or directory
Things about which I am not sure when using the synopsis as a help
- unable to see where to put the option
-type: I can clearly test this, but I want to learn to read manuals better such that I do not need ask help.
- unable to understand why we need two lines for synopsis: it seems to emphasize that many PATHs are optional
- why does Pixelbeat use an exclamation mark in the command?
Let's have another example of Grep's manual.
It has a clear synopsis although I would just use one line for it. I can see directly that we can grep by
grep -r "masi" .
How do you read manuals similar to Find's manual?