Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2003 02:39:27 -0500
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        adrian kok <adriankok2000@yahoo.com.hk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: vi
Message-ID:  <20030706073927.GD1226@over-yonder.net>
In-Reply-To: <20030705190416.43951.qmail@web21202.mail.yahoo.com>
References:  <20030704152038.M66107-100000@cactus.fi.uba.ar> <20030705190416.43951.qmail@web21202.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030706073927.GD1226>