I started yesterday writing a new builting command for BASH, the Bourne-again Shell. It's called
eset and it works the same as in 4DOS making it easy for you to edit environment variables. In addition,
eset edits aliases and shell functions. All this is possible because BASH makes it easy for you to write new extensions and add them to the shell:
$ make eset ... output from make ... $ enable -f ./eset eset # load builtin into the shell $ eset eset [-aef] var $ eset PATH PATH=/bin:/usr/bin:.
If you are interested in trying it out, please write me.
UPDATE: Apologies, but after several moves and change of servers, I have lost the source.