From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19553 invoked from network); 21 Mar 2005 16:17:53 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 21 Mar 2005 16:17:53 -0000 Received: (qmail 30916 invoked from network); 21 Mar 2005 16:17:47 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 21 Mar 2005 16:17:47 -0000 Received: (qmail 26970 invoked by alias); 21 Mar 2005 16:17:38 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8623 Received: (qmail 26955 invoked from network); 21 Mar 2005 16:17:36 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 21 Mar 2005 16:17:36 -0000 Received: (qmail 29779 invoked from network); 21 Mar 2005 16:17:36 -0000 Received: from vms044pub.verizon.net (206.46.252.44) by a.mx.sunsite.dk with SMTP; 21 Mar 2005 16:17:16 -0000 Received: from candle.brasslantern.com ([4.11.1.68]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IDP0094JMKQ6DC1@vms044.mailsrvcs.net> for zsh-users@sunsite.dk; Mon, 21 Mar 2005 10:17:15 -0600 (CST) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j2LGHDD5012418 for ; Mon, 21 Mar 2005 08:17:13 -0800 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j2LGHDOZ012417 for zsh-users@sunsite.dk; Mon, 21 Mar 2005 08:17:13 -0800 Date: Mon, 21 Mar 2005 16:17:13 +0000 From: Bart Schaefer Subject: Re: calling dos program from a zsh script In-reply-to: <9sit31dtc7q4jf7hmqoo97ibdc5dll09tf@4ax.com> To: zsh-users@sunsite.dk Message-id: <1050321161713.ZM12416@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <9sit31dtc7q4jf7hmqoo97ibdc5dll09tf@4ax.com> Comments: In reply to zzapper "calling dos program from a zsh script" (Mar 21, 1:32pm) X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 On Mar 21, 1:32pm, zzapper wrote: } } sja.exe /somepath/params.xml } } This wouldn't work as sja always complained that it couldn't find param.xml } } I guess this is because zsh is somehow interpreting the } /somepath/params.xml before passing it on. Actually it's more likely because zsh is NOT interpreting the path, and bash (or whatever /bin/sh is) DOES interpret it. That is, the DOS utility is probably expecting \somepath\params.xml but zsh passes it through unchanged with forward slashes instead.