18 Oct
2004
18 Oct
'04
23:22
On Tuesday, 19 October 2004 01.09, Anders Johansson wrote:
On Tuesday, 19 October 2004 00.52, Paul W. Abrahams wrote:
By the way, I did a little experiment with EDITOR and discovered that it's effective as an environment variable only if it's exported.
It isn't an environment variable if it isn't exported. If you don't export it, it's only visible to the current process and isn't inherited when you launch a new process
By the way, you can also do "VARIABLE=value <command>", like EDITOR=/usr/bin/vi crontab -e that way it will only be visible to the launched process and not the current.