On Jan 21, 2021, at 11:10 PM, Dworkin Muller <dlm-9f...@weaselfish.com> wrote: > > On Thu, 21 Jan 2021 23:51:24 -0700, Don Bailey <don.bai...@gmail.com> wrote: > don.bailey> Grep the source code not the man pages :> > > Well, yes, but I was hoping for something a little less tedious than > wading through 137,124 hits for `#'. Removing `#include' admittedly > brings that down to 109,636, but that's still a bit on the heavy side.
Try something like this: cd /sys/src/9 awk '/^Dev /,/,/' */*.c ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tc21478a4dc8e2df1-Mdef3db0e100b3dfb6c5cfdd5 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription