public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Weird behavior in 'grep'ing for string in /proc/registry...
@ 2020-09-07  5:34 L A Walsh
  2020-09-07  7:05 ` Brian Inglis
  0 siblings, 1 reply; 13+ messages in thread
From: L A Walsh @ 2020-09-07  5:34 UTC (permalink / raw)
  To: cygwin

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



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-09-08 19:25 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-07  5:34 Weird behavior in 'grep'ing for string in /proc/registry L A Walsh
2020-09-07  7:05 ` Brian Inglis
2020-09-07  7:53   ` Thomas Wolff
2020-09-07 19:15     ` Brian Inglis
2020-09-07 20:51     ` Corinna Vinschen
2020-09-07 21:34       ` cygwin1.dll: uname_x not found L A Walsh
2020-09-08  7:18         ` Corinna Vinschen
2020-09-08 18:28           ` L A Walsh
2020-09-08 18:47             ` Thomas Wolff
2020-09-08 19:21               ` Corinna Vinschen
2020-09-08 19:21             ` Corinna Vinschen
2020-09-08 19:25               ` Corinna Vinschen
2020-09-07 14:02   ` Bug in 'grep'ing for string in /proc/registry L A Walsh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).