|
From: Arkady V.B. <ar...@be...> - 2006-11-27 22:08:41
|
Hi!
27-Ноя-2006 13:14 _bl...@gm... (Blair Campbell) wrote to
fre...@li...:
>> BC> So who is for making HELLO=blah equal to SET HELLO=blah in FreeCOM?
>> Where you see this? Lester was just ask if this possible or not. No one
>> was discuss adding support for this (except that Eric suggest, that this
>> feature doesn't supported by current shells).
BC> I'm asking now. I never said that anyone else suggested it.
I see no reasons for this (this not adds required/used functionality),
especially this will eat extra memory for additional parsing code and may
introduce incompatibilities into existing parser (which anyway is too complex).
>> BC> And according to POSIX, %PWD% is supposed to be set to the current
>> If this will be internal function/variable, which will not eat space in
>> environment - why not?
BC> POSIX says that it should be an environment variable accessable to all
BC> programs.
After all, DOS isn't POSIX system and DOS programs don't use/need extra
garbage in environment. This may be useful _only_ to ease porting sources of
unix programs to DOS, but there exist more elegant solutions (ie., for these
programs should be used library/startup, which will modify environment
statically or on the fly as need - similarly, as many compilers include
wildargs.obj, which emulate wild characters expansion by shell).
BC> But AFAIK, things like CDPATH are allowed to be internal
BC> variables.
Of course.
PS: Blair, when you answer about using string instructions in callint()?
|