From: Donald Brownlee <brownlee@acm.org>
To: 9fans@cse.psu.edu
Subject: [9fans] broken cmd
Date: Sat, 30 Mar 2002 18:45:40 -0800 [thread overview]
Message-ID: <3CA67854.6020007@acm.org> (raw)
Hi,
In the initial Release 3 (summer of 2000?) the 'src'
command worked for both shell scripts and '8.out' files.
In a distribution that was downloaded from the Plan 9
web site, yesterday, the 'src' command no longer works
for '8.out' files.
I got it to work by modifying /rc/bin/src:
term% diff /rc/bin/src.original /rc/bin/src
7c7
< echo $sym | db $1 | sed '1d;/symbol not found/d;s/.*\(\) //'
---
> echo $sym | db $1 | sed '1,2d;/symbol not found/d;s/.*\(\) //'
There may have been an extra 'dprint' placed in /sys/src/cmd/db/main.c,
which could explain why two lines instead of one must be deleted from
the output of 'db'.
Regards,
Don Brownlee
next reply other threads:[~2002-03-31 2:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-31 2:45 Donald Brownlee [this message]
2002-03-31 5:39 rob pike, esq.
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=3CA67854.6020007@acm.org \
--to=brownlee@acm.org \
--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).