From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13793 invoked by alias); 9 Jan 2013 15:56:57 -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: 17548 Received: (qmail 2933 invoked from network); 9 Jan 2013 15:56:46 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <130109075626.ZM9484@torch.brasslantern.com> Date: Wed, 09 Jan 2013 07:56:26 -0800 In-reply-to: Comments: In reply to rahul "Re: array matching: inconsistent behaviour ?" (Jan 9, 4:03pm) References: <20130109094054.021cbaa6@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: array matching: inconsistent behaviour ? MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Jan 9, 4:03pm, rahul wrote: } } I've been using the "print -rC" to print in columns -- saves me from quite } a bit of programming. However, often the data has spaces in it, or tabs. Of } course, print will wrap/break on those. "print" doesn't do any wrapping/wordsplitting internally, so if you are getting columns broken up on whitespace in the data, it's because of command-line parsing. Change the way you quote the arguments to print.