From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26264 invoked from network); 20 Nov 2003 03:31:29 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 20 Nov 2003 03:31:29 -0000 Received: (qmail 3784 invoked by alias); 20 Nov 2003 03:31:13 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6798 Received: (qmail 3720 invoked from network); 20 Nov 2003 03:31:12 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 20 Nov 2003 03:31:12 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [216.158.26.62] by sunsite.dk (MessageWall 1.0.8) with SMTP; 20 Nov 2003 3:31:12 -0000 Received: from [10.0.1.28] (abase.mcgillsociety.org [216.158.26.165]) by spacecat.mcgillsociety.org (8.11.3/8.11.3) with ESMTP id hAK3Sbt451100; Wed, 19 Nov 2003 22:28:37 -0500 (EST) In-Reply-To: <20031119173206.GD31842@fruitcom.com> References: <20031119171554.GC31842@fruitcom.com> <10989.1069262811@csr.com> <20031119173206.GD31842@fruitcom.com> Mime-Version: 1.0 (Apple Message framework v606) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: zsh users From: "William H. Magill" Subject: Re: zsh not accepting commandline args at end of command Date: Wed, 19 Nov 2003 22:31:09 -0500 To: Eric Smith X-Mailer: Apple Mail (2.606) On 19 Nov, 2003, at 12:32, Eric Smith wrote: > But is weems to be using the same ls > [eric@apple ~] $ which ls > /bin/ls > [eric@apple ~] $ /bin/ls /tmp -F > /bin/ls: -F: No such file or directory > /tmp: > ssh-XXUIWy1q v235390 > [eric@apple ~] $ exit > > now in bash: > eric@apple:~$ /bin/ls /tmp -F > ssh-XXUIWy1q/ v235390/ The command results from bash are simply wierd. Using GNU bash, version 2.05b.0(1)-release (powerpc-apple-darwin7.0) ls /tmp -F generates exactly the same output as does zsh or tcsh (all without initialization files). ls: -F: No such file or directory The command syntax is ls [-ABCFGHLPRTWZabcdfghiklmnopqrstuwx1] [file ...] The parameters are positional, with the options first and the operands second. The "-F" is treated as a file name, hence "no such file." This is true for both the BSD and SystemV versions of ls. T.T.F.N. William H. Magill # Beige G3 - Rev A motherboard - 768 Meg # Flat-panel iMac (2.1) 800MHz - Super Drive - 768 Meg # PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg]- Tru64 5.1a magill@mcgillsociety.org magill@acm.org magill@mac.com