Re: [9fans] environment + functions

2008-10-08 Thread Rudolf Sykora
2008/10/8 Pietro Gagliardi <[EMAIL PROTECTED]> > 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

Re: [9fans] environment + functions

2008-10-08 Thread Pietro Gagliardi
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/'f

Re: [9fans] environment + functions

2008-10-08 Thread erik quanstrom
> > Well... that's an answer, but not very constructive indeed. When do those > files dissapear? they don't. but it shouldn't be a problem. there's no explicit limit. why don't you sidestep the problem by using a space between the fixed part and the path? - erik

Re: [9fans] environment + functions

2008-10-08 Thread Rudolf Sykora
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. >

Re: [9fans] environment + functions

2008-10-08 Thread Pietro Gagliardi
On Oct 8, 2008, at 6:58 AM, 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#

Re: [9fans] environment + functions

2008-10-08 Thread erik quanstrom
> > it's done this way, i believe, to ensure that two rc shells running in > > the same namespaces do not step all over each others' environments. if > > you simply run 'rfork e' before you experiment with all those > > functions you won't see the empty files anywhere. > > Sorry, but I don't under

Re: [9fans] environment + functions

2008-10-08 Thread Rudolf Sykora
> > it's done this way, i believe, to ensure that two rc shells running in > the same namespaces do not step all over each others' environments. if > you simply run 'rfork e' before you experiment with all those > functions you won't see the empty files anywhere. Sorry, but I don't understand...

Re: [9fans] environment + functions

2008-10-07 Thread andrey mirtchovski
this is a consequence of how environment variables are treated by the shell and what appears in /env. there is a disconnect between the file server and the shell (in essence the shell doesn't consult /env upon each reference. for example if you simply create a file in /env your current shell won't

Re: [9fans] environment + functions

2008-10-07 Thread erik quanstrom
> why after creating a function with > > fn my_func_name { something } > > and removing this function with > > fn my_func_name > > a file (though of zero size) exists in /env? > > (If I create a lot of functions and then want them be removed, I find a lot > of for-me-uninteresting files in /en

[9fans] environment + functions

2008-10-07 Thread Rudolf Sykora
Hello, why after creating a function with fn my_func_name { something } and removing this function with fn my_func_name a file (though of zero size) exists in /env? (If I create a lot of functions and then want them be removed, I find a lot of for-me-uninteresting files in /env...) Thanks, R