From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28596 invoked from network); 25 Jan 2009 10:52:07 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 25 Jan 2009 10:52:07 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 6011 invoked from network); 25 Jan 2009 10:52:03 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 25 Jan 2009 10:52:03 -0000 Received: (qmail 29255 invoked by alias); 25 Jan 2009 10:51:58 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26429 Received: (qmail 29236 invoked from network); 25 Jan 2009 10:51:58 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 25 Jan 2009 10:51:58 -0000 Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by bifrost.dotsrc.org (Postfix) with ESMTP id 96C1280271F0 for ; Sun, 25 Jan 2009 11:51:43 +0100 (CET) Received: by fg-out-1718.google.com with SMTP id e21so2952919fga.37 for ; Sun, 25 Jan 2009 02:51:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=178YYvo3JXF5X51FWxuFU7Zdwt+APT+gb+NLihiCfDE=; b=QaOSvZ4+EVzU55nHdURquDqt9b7G8byf45SmOh5OeGjc+0i/STdRCVGKgEi/FQezYM ZLQOVijsJa6vFYsJM940VGwALaqhEUU8LENzUBespzmYZB68JWgxcUzhKmxuzutw5+u4 aC8Zr7DwxKdPaneEZ1xMzf3N1n195cWsezf8I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ivoAMnQEIRCKVELFc52+IommkEjLgu0od59VU6V+I0VfX0LhZpq/S8yy20i1QzoJ+J 81aleXxAVJnJLGY+vwvEM+O5H1bJjCL1BG/99T262qW8w6/ISm/MvTdvbzIv3MraktSw b5KIyQl+vOhHTT/1JMPJwQzNekrflEh0G/4LA= MIME-Version: 1.0 Received: by 10.86.95.8 with SMTP id s8mr1754074fgb.28.1232880702873; Sun, 25 Jan 2009 02:51:42 -0800 (PST) In-Reply-To: <200901251341.44463.arvidjaar@gmail.com> References: <200901251156.04815.arvidjaar@gmail.com> <2d460de70901250225g37845bftbbf4b87f12997a7c@mail.gmail.com> <200901251341.44463.arvidjaar@gmail.com> Date: Sun, 25 Jan 2009 11:51:42 +0100 Message-ID: <2d460de70901250251v62a13482q41a4196b09aa8590@mail.gmail.com> Subject: Re: sourcing a sh file in zsh From: Richard Hartmann To: Andrey Borzenkov Cc: zsh-workers@sunsite.dk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/8900/Sun Jan 25 03:40:27 2009 on bifrost X-Virus-Status: Clean On Sun, Jan 25, 2009 at 11:41, Andrey Borzenkov wrote: > I asked already - why would you want to create non-zsh function inline > in zsh script? Personally, I don't. I am simply giving feedback on what I think would be a clean implementation and try to think of problems which might arise in the future, either from syntax choices or from user behaviour. > emulate -? sh -c "${$(<<-\HERE What is the -? for? Richard