Graham, you wrote Thursday, December 16, 2010 5:25 PM


Could you try replacing it with an -o ?  apparently -or is not
posix compliant, but it doesn't say that -o  is not posix.

find Documentation/ -path 'Documentation/snippets' -prune -o -name
'*.itely' | grep rhythms

In case it's helpful, using the mingw command line under
Vista

 find Documentation/ -name '*.itely' | grep rhythms

produces

Documentation/de/notation/rhythms.itely
Documentation/es/notation/rhythms.itely
Documentation/fr/notation/rhythms.itely
Documentation/notation/rhythms.itely
Documentation/snippets/rhythms-intro.itely

 find Documentation/ -path 'Documentation/snippets' -prune \
 , -name '*.itely' | grep rhythms

simply returns with no output and

 find Documentation/ -path 'Documentation/snippets' -prune \
 -o -name '*.itely' | grep rhythms

produces

Documentation/de/notation/rhythms.itely
Documentation/es/notation/rhythms.itely
Documentation/fr/notation/rhythms.itely
Documentation/notation/rhythms.itely

Replacing -o with -or gives the same output.

Is this as you would expect?

Trevor



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to