From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18048 invoked by alias); 17 Dec 2013 14:49:06 -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: 18237 Received: (qmail 14006 invoked from network); 17 Dec 2013 14:49:00 -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=-0.7 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_NUMERIC_HELO,SPF_HELO_PASS autolearn=no version=3.3.2 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@zsh.org From: Yuri D'Elia Subject: Expanding quotes Date: Tue, 17 Dec 2013 15:48:39 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 193.106.183.18 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 Hi everyone, mkdir test cd test touch file file\' file\" ls *\" results in: % ls file file\" file\' although the result of the pure glob *\" is correct, and only contains file\". This confused me yesterday, where I almost got the impression that the quote was breaking the match. Another tidbit: % ls *[\'] doesn't expand entirely, although it globs correctly file\' when executed. The problem only exists with the quote/double quote (in both forms).