From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 6 Nov 2006 19:27:34 -0800 From: yard-ape@telus.net To: 9fans@cse.psu.edu Subject: Re: [9fans] Filename Referencing in Sam Message-ID: <454ffd26.Jqg+19D3HaGDeyn7%yard-ape@telus.net> References: <454ea92a.h5aQHSfEj4QeTKSB%yard-ape@telus.net> In-Reply-To: User-Agent: nail 11.25 7/29/05 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: dc42b89e-ead1-11e9-9d60-3106f5b1d025 "Russ Cox" 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