9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Pietro Gagliardi <pietro10@mac.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] environment + functions
Date: Wed,  8 Oct 2008 15:16:20 -0400	[thread overview]
Message-ID: <6D73C1E6-8F03-43A6-BF0F-03FADE8C33D9@mac.com> (raw)
In-Reply-To: <a560a5d00810081152i2fdd24e6gf4f2fab9988e53b4@mail.gmail.com>

On Oct 8, 2008, at 2:52 PM, Rudolf Sykora wrote:

>
>
> So, if I continuously want to add and remove functions within one
> shell (running hypothetically forever), do I have to 'manually'
> delete those empty left-behind files? --- that is, not only use
> fn name_that_I _don't_need
> but also
> rm /env/'fn#name_that_I _don't_need' ?
>
> No.
>
> Well... that's an answer, but not very constructive indeed. When do
> those files dissapear?
> R.

When the namespace disappears.

You can ignore the file even being there. There is a difference
between the file and how the program uses them. If the program (rc)
doesn't have a function given a name but /env does, it makes no
difference. rc will overwrite the file when you redefine the function.




  parent reply	other threads:[~2008-10-08 19:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-07 18:31 Rudolf Sykora
2008-10-07 18:33 ` erik quanstrom
2008-10-07 18:52 ` andrey mirtchovski
2008-10-08 10:58   ` Rudolf Sykora
2008-10-08 18:46     ` Pietro Gagliardi
2008-10-08 18:52       ` Rudolf Sykora
2008-10-08 19:12         ` erik quanstrom
2008-10-08 19:16         ` Pietro Gagliardi [this message]
2008-10-08 19:25           ` Rudolf Sykora
2008-10-08 11:35 erik quanstrom

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=6D73C1E6-8F03-43A6-BF0F-03FADE8C33D9@mac.com \
    --to=pietro10@mac.com \
    --cc=9fans@9fans.net \
    /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).