Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2003 03:04:16 +0800 (CST)
From:      =?iso-8859-1?q?adrian=20kok?= <adriankok2000@yahoo.com.hk>
To:        Fernando Gleiser <fgleiser@cactus.fi.uba.ar>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: vi 
Message-ID:  <20030705190416.43951.qmail@web21202.mail.yahoo.com>
In-Reply-To: <20030704152038.M66107-100000@cactus.fi.uba.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi all

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

So it is not relvant about vi in.txt 
to change the content in in.txt

Thank you



 --- Fernando Gleiser <fgleiser@cactus.fi.uba.ar>
wrote: > On Sat, 5 Jul 2003, adrian kok wrote:
> 
> > Can I avoid this warning message from vi?
> > When I run "vi <in.txt"
> > Vim: Warning: Input is not from a terminal
> 
> Run "vi in.txt"
> 
> If you need to edit a file from a script, use ex or
> sed instead
> 
> 
> 			Fer
>  

_______________________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk



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