vi

adrian kok adriankok2000 at yahoo.com.hk
Sat Jul 5 12:04:17 PDT 2003


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 at 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


More information about the freebsd-questions mailing list