From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15092 invoked from network); 30 Jul 2004 11:59:55 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 30 Jul 2004 11:59:55 -0000 Received: (qmail 57821 invoked from network); 30 Jul 2004 11:59:39 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 30 Jul 2004 11:59:39 -0000 Received: (qmail 15595 invoked by alias); 30 Jul 2004 11:58:55 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7789 Received: (qmail 15585 invoked from network); 30 Jul 2004 11:58:55 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 30 Jul 2004 11:58:55 -0000 Received: (qmail 55693 invoked from network); 30 Jul 2004 11:56:56 -0000 Received: from main.gmane.org (80.91.224.249) by a.mx.sunsite.dk with SMTP; 30 Jul 2004 11:56:55 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BqW0N-0001UN-00 for ; Fri, 30 Jul 2004 13:56:55 +0200 Received: from cpc3-oxfd4-4-0-cust194.oxfd.cable.ntl.com ([80.3.247.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Jul 2004 13:56:55 +0200 Received: from david by cpc3-oxfd4-4-0-cust194.oxfd.cable.ntl.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Jul 2004 13:56:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk From: zzapper Subject: Why are Quotes necessay here? Date: Fri, 30 Jul 2004 12:56:51 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-oxfd4-4-0-cust194.oxfd.cable.ntl.com X-Newsreader: Forte Free Agent 1.93/32.576 English (American) Sender: news X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.6 required=6.0 tests=BAYES_10,RCVD_IN_SORBS autolearn=no version=2.63 X-Spam-Hits: 0.6 Hi, Not necessarily just zsh, and may be I'm being thick today, but why are the double quotes around the $1* necessary here? Was the star otherwise being expanded? elif builtin cd "$1*" &> /dev/null ; without quotes I get no matches found: raynin* I have setopt localoptions nonomatch zzapper (vim, cygwin, wiki & zsh) -- vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?" http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips