From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5478 invoked by alias); 23 Aug 2011 00:32:03 -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: 16277 Received: (qmail 17003 invoked from network); 23 Aug 2011 00:32:00 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at vinc17.net does not designate permitted sender hosts) Date: Tue, 23 Aug 2011 02:24:58 +0200 From: Vincent Lefevre To: zsh-users@zsh.org Subject: Re: wc and leading spaces Message-ID: <20110823002458.GC28945@xvii.vinc17.org> Mail-Followup-To: zsh-users@zsh.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6194-vl-r44775 (2011-07-13) On 2011-08-22 19:53:38 -0400, TJ Luoma wrote: > ^1 — well, GNU's 'wc' does not seem to add leading spaces, but my > standard 'wc' in Mac OS X does… GNU wc adds spaces when there are no options: $ echo | wc 1 0 1 Anyway, this is not related to zsh. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)