From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: Broken lisp/Makefile.w32-in Date: Mon, 02 Sep 2002 08:18:48 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <20020902081336.3E79.LEKTU@terra.es> References: <20020901165341.39BF.LEKTU@terra.es> <9003-Sun01Sep2002195958+0300-eliz@is.elta.co.il> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1030947589 25899 127.0.0.1 (2 Sep 2002 06:19:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 2 Sep 2002 06:19:49 +0000 (UTC) Cc: Takaaki.Ota@am.sony.com, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17lkYu-0006jc-00 for ; Mon, 02 Sep 2002 08:19:48 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17ll70-0005RK-00 for ; Mon, 02 Sep 2002 08:55:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17lkaQ-00046R-00; Mon, 02 Sep 2002 02:21:22 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17lkYB-0003mo-00 for emacs-devel@gnu.org; Mon, 02 Sep 2002 02:19:03 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17lkY8-0003mS-00 for emacs-devel@gnu.org; Mon, 02 Sep 2002 02:19:02 -0400 Original-Received: from [62.22.27.141] (helo=mail.peoplecall.com) by monty-python.gnu.org with esmtp (Exim 4.10) id 17lkY8-0003j4-00 for emacs-devel@gnu.org; Mon, 02 Sep 2002 02:19:00 -0400 Original-Received: from [62.22.27.143] (jbarranquero.ofi.peoplecall.com [62.22.27.143]) by mail.peoplecall.com (8.11.6/8.11.6) with ESMTP id g826Ila21960; Mon, 2 Sep 2002 08:18:47 +0200 Original-To: Eli Zaretskii In-Reply-To: <9003-Sun01Sep2002195958+0300-eliz@is.elta.co.il> X-Mailer: Becky! ver. 2.05.04 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:7318 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7318 On Sun, 01 Sep 2002 19:59:58 +0300, "Eli Zaretskii" wrote: > Ah, sorry, I wasn't aware of that (you didn't show the file created > by the command, so I was confused). Uh? In my example, the "for" redirects to test.txt, and the bat file then "types" the contents of test.txt surrounded by rows of "=" to differentiate any other posible output from the contents of test.txt. That's why in the first example (without "if") all output is between the equal-sign rows: is the contents of the redirected file, while in the second example (with "if"), first there's unwanted output to the screen and then test.txt is typed, showing that it does contain just a single line... > Does it help to put the redirection at the beginning of the command, > like below? I'll try it at home ASAP. Thanks. > (yes, it's a valid syntax for COMMAND.COM and CMD.EXE). Live and learn :-) /L/e/k/t/u