From owner-freebsd-questions@FreeBSD.ORG Sat Jul 5 12:04:17 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 434C937B401 for ; Sat, 5 Jul 2003 12:04:17 -0700 (PDT) Received: from web21202.mail.yahoo.com (web21202.mail.yahoo.com [216.136.130.18]) by mx1.FreeBSD.org (Postfix) with SMTP id A024143FE5 for ; Sat, 5 Jul 2003 12:04:16 -0700 (PDT) (envelope-from adriankok2000@yahoo.com.hk) Message-ID: <20030705190416.43951.qmail@web21202.mail.yahoo.com> Received: from [142.154.102.199] by web21202.mail.yahoo.com via HTTP; Sun, 06 Jul 2003 03:04:16 CST Date: Sun, 6 Jul 2003 03:04:16 +0800 (CST) From: =?iso-8859-1?q?adrian=20kok?= To: Fernando Gleiser In-Reply-To: <20030704152038.M66107-100000@cactus.fi.uba.ar> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit cc: freebsd-questions@freebsd.org Subject: Re: vi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2003 19:04:17 -0000 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 wrote: > On Sat, 5 Jul 2003, adrian kok wrote: > > > Can I avoid this warning message from vi? > > When I run "vi > 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