[dangers of vi with ./.exrc]
[snip shell escapes in .exrc]Quote:>The startup file .exrc is run from first the $HOME directory
>and then if one is in the "." directory that is run as well.
>Thus someone could put a .exrc file in /tmp and anyone who
>does a vi in that directory would process the ./.exrc file
[snip]Quote:>Recent versions of vi introduced a set option of exrc/noexrc.
FWIW, my version of vi will only execute .exrc's owned by you.
It's a 1988 version as well.
"I was born outta time" Napoleon Wilson