9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: yard-ape@telus.net
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Filename Referencing in Sam
Date: Mon,  6 Nov 2006 19:27:34 -0800	[thread overview]
Message-ID: <454ffd26.Jqg+19D3HaGDeyn7%yard-ape@telus.net> (raw)
In-Reply-To: <ee9e417a0611052030q6b2af7ecn693019d5b03a251b@mail.gmail.com>

"Russ Cox" <rsc@swtch.com> wrote:

> I added this to the plan9port sam over the summer.
> The name of the current file is exported as $samfile.
>
> The code hasn't made it into Plan 9 but if you want it,
> see the top of http://swtch.com/usr/local/plan9/src/cmd/sam/shell.c
>
> Russ

Thanks, Russ.  I've been wanting something like that for a long time.

-Derek


      reply	other threads:[~2006-11-07  3:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-06  3:16 yard-ape
2006-11-06  4:30 ` Russ Cox
2006-11-07  3:27   ` yard-ape [this message]

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=454ffd26.Jqg+19D3HaGDeyn7%yard-ape@telus.net \
    --to=yard-ape@telus.net \
    --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).