From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: presotto@plan9.bell-labs.com To: 9fans@cse.psu.edu Subject: Re: [9fans] panic(?) and error(?) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Sun, 25 Aug 2002 11:31:15 -0400 Topicbox-Message-UUID: e055d31e-eaca-11e9-9e20-41e7f4b1d025 Try using grep. It's amazingly useful since we (bel labs crowd) use the convention of starting our routine defnitions with the name on the left margin: % cd /sys/src/cmd/9660srv % grep -n '^(panic|error)' *.c main.c:223: error(char *p) main.c:558: panic(int rflag, char *fmt, ...) % cd /sys/src/cmd/upas/fs % grep -n '^(panic|error)' *.c fs.c:1259: error(char *s) Works well in the editor also.