NEW vi feature???

Sylvan Ruud sylvan at boulder.UUCP
Mon Apr 16 10:50:46 AEST 1984


I agree about this "feature".  As a matter of fact, we have a user name
of "evi" - take a look at the syntax of a password file....  it just so
happened that she was within the top 5 lines of the file, so whenever
someone did a 'vipw', we got the message 'JJ: Not an editor command'.
Lemme see, if her password just happened to get encrypted as evi:1,$d|wq
would that blow away the password file????

fun times.

sylvan ruud

{ucbvax!hplabs | allegra!nbires | decvax!kpno | harpo!seismo | ihnp4!kpno}
			!hao!boulder!sylvan

for those of you who have not run into this problem yet, there is an extension
to vi/ex so that if there is a character sequence of 'vi:' or 'ex:' in the
first or last 5 lines of a file, these editors will try to execute what it
thinks are commands immediately following the :.  

This is "documented" in the 4.2 release - see /usr/src/ucb/ex/ex.news



More information about the Comp.unix.wizards mailing list