9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: presotto@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] panic(?) and error(?)
Date: Sun, 25 Aug 2002 11:31:15 -0400	[thread overview]
Message-ID: <cb1a10698b8fc8857f0f03b06037397e@plan9.bell-labs.com> (raw)

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.


             reply	other threads:[~2002-08-25 15:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-25 15:31 presotto [this message]
2002-08-25 15:47 ` Lucio De Re
  -- strict thread matches above, loose matches on Subject: below --
2002-08-25 14:43 presotto
2002-08-25 15:14 ` Lucio De Re
2002-08-25 15:27 ` Lucio De Re
2002-08-25 14:22 Lucio De Re

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cb1a10698b8fc8857f0f03b06037397e@plan9.bell-labs.com \
    --to=presotto@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).