possible problem with "find . -name blah -o -name blah2"

mlist@bogusville.us mlist@bogusville.us
Wed Aug 20 20:58:00 GMT 2014

using CYGWIN_NT-6.1, bash 4.1.11(2) and find 4.5.12, the following returns

   find . -name \*.cs -o -name \*.h -o -name \*.cpp -exec ls {} \;

pick your favorite for 'ls'

this works as expected

   find . -name \*.cs -o -name \*.h -o -name \*.cpp

it's probably not a horrible problem but i thought i'd report it.


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list