From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16974 invoked from network); 3 Sep 2007 15:59:22 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 3 Sep 2007 15:59:22 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 86476 invoked from network); 3 Sep 2007 15:59:12 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 3 Sep 2007 15:59:11 -0000 Received: (qmail 6370 invoked by alias); 3 Sep 2007 15:59:03 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11803 Received: (qmail 6361 invoked from network); 3 Sep 2007 15:59:02 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 3 Sep 2007 15:59:02 -0000 Received: (qmail 85365 invoked from network); 3 Sep 2007 15:59:02 -0000 Received: from vms044pub.verizon.net (206.46.252.44) by a.mx.sunsite.dk with SMTP; 3 Sep 2007 15:58:56 -0000 Received: from torch.brasslantern.com ([71.116.91.65]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JNS002DUV1YB122@vms044.mailsrvcs.net> for zsh-users@sunsite.dk; Mon, 03 Sep 2007 10:58:46 -0500 (CDT) Received: from torch.brasslantern.com (localhost.localdomain [127.0.0.1]) by torch.brasslantern.com (8.13.1/8.13.1) with ESMTP id l83FwjFN024349 for ; Mon, 03 Sep 2007 08:58:45 -0700 Received: (from schaefer@localhost) by torch.brasslantern.com (8.13.1/8.13.1/Submit) id l83FwiMH024348 for zsh-users@sunsite.dk; Mon, 03 Sep 2007 08:58:44 -0700 Date: Mon, 03 Sep 2007 08:58:44 -0700 From: Bart Schaefer Subject: Re: fg jobs info In-reply-to: <20070903073854.GA5377@sc.homeunix.net> To: zsh-users@sunsite.dk Message-id: <070903085844.ZM24347@torch.brasslantern.com> MIME-version: 1.0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) Content-type: text/plain; charset=us-ascii References: <20070902154306.35880.qmail@smasher.org> <070902105953.ZM22915@torch.brasslantern.com> <20070903073854.GA5377@sc.homeunix.net> Comments: In reply to Stephane Chazelas "Re: fg jobs info" (Sep 3, 8:38am) On Sep 3, 8:38am, Stephane Chazelas wrote: } } I'd like to point out that $* is not the right way to pass } parameters around. $* strips the empty arguments. In this case that doesn't really matter because there's no sensible reason to call "jobs" or "fg" with an empty argument. } Also, in zsh (contrary to ksh and bash), typeset is a builtin } parsed like any other builtin, so in the typeset command above, } the command substitution will be word spit You're right about that one, though. I edited in the "typeset -g" after writing the rest, and forgot to add the quotes.