From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21779 invoked by alias); 23 May 2012 06:30:07 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17115 Received: (qmail 14525 invoked from network); 23 May 2012 06:30:05 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at linux.vnet.ibm.com does not designate permitted sender hosts) Date: Wed, 23 May 2012 14:18:59 +0800 From: Han Pingtian To: zsh-users@zsh.org Subject: globbing in assignment Message-ID: <20120523061859.GA2383@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12052306-5112-0000-0000-00000842B8E3 Hello, I just notice filename globbing doesn't occur in my script, like v=* but it works in the interactive shell. Althoug I can make it work by "setop glob_assign" or use "v=(*)", but it looks like the behavior's diversity is a little strange. Any thoughts? Thanks.