In directory /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/services/eventlog I wanted to list all the ".dll"s that handled various types of events.
I tried /bin/grep -Pr '\.dll' but got a load of bogus error messages: /bin/grep: Group: Is a directory /bin/grep: ImagePath: Is a directory /bin/grep: Description: Is a directory /bin/grep: ObjectName: Is a directory .... --- looking at ImagePath: > ll ImagePath -r--r----- 1 65 Sep 6 22:06 ImagePath > read -r x <ImagePath > echo $x C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted --- Doesn't look like a directory. So, bug in 'grep'? I'm hoping this isn't limited to my machine... Thanks! linda -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple