vi

Matthew D. Fuller fullermd at over-yonder.net
Sun Jul 6 17:29:44 PDT 2003


On Sun, Jul 06, 2003 at 03:04:16AM +0800 I heard the voice of
adrian kok, and lo! it spake thus:
> 
> My friend puts some words in in.txt eg: 
> 
> xxx
> wq!
> 
> and vi < in.txt 
> 
> then this program in in.txt will automatically do it
> and finally save and exit

With vim, use -s (see manpage).



-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/

"The only reason I'm burning my candle at both ends, is because I
      haven't figured out how to light the middle yet"


More information about the freebsd-questions mailing list