From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Message-id: <6D73C1E6-8F03-43A6-BF0F-03FADE8C33D9@mac.com> From: Pietro Gagliardi To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: Date: Wed, 8 Oct 2008 15:16:20 -0400 References: <14ec7b180810071152i1dcdc311la333bfc3e737729d@mail.gmail.com> <57408E90-B076-45B3-A734-AA2D9D3E1551@mac.com> Subject: Re: [9fans] environment + functions Topicbox-Message-UUID: 19f79f0e-ead4-11e9-9d60-3106f5b1d025 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.