From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22708 invoked by alias); 19 Sep 2015 16:32:28 -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: 20600 Received: (qmail 15045 invoked from network); 19 Sep 2015 16:32:28 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=SOcq+o6Wx4Qj6/S16WcojavLAlLZhL5MCSQIOc7AR+I=; b=Ql27SArFpN/33HM42BEqo1N0v9Zs6Tcptt700bOYh0kAJpgk8wyuRpzsBaRjJ0cp3c yfSalCBTjPvHHT17dBvK3OQt7OPsZ9jo6v03Tz6nGF5kpFq1bI9TEKfuStarCurJ+NZX rnIq+vldH4JuwsR+tQl3vQLW8cyFp8+/Ynk0vySTvnIucn6eBk+xeaTwBfQed4R7VKjW 7aA6S3LZWrXhAcpxBSJeg1rFkZ49/61J8oW4S67wkXsj2T0UuOoZ8dvpS5biVmu/+gFh BBusCmIWn6ClgR5IryVkM4ntHo/UIGSMwLBPM81ZJspqp5mNSludPWu29JKQFoAZLZ7g dgOA== X-Gm-Message-State: ALoCoQlfMgkzfqbrauN6w2QLLu1lyeLWIM7tsVh2ggIp+KpcEmaR4vSdXYrNn5N1zvgxFMp/WYM5 X-Received: by 10.202.205.133 with SMTP id d127mr6767236oig.9.1442680344671; Sat, 19 Sep 2015 09:32:24 -0700 (PDT) From: Bart Schaefer Message-Id: <150919093221.ZM28238@torch.brasslantern.com> Date: Sat, 19 Sep 2015 09:32:21 -0700 In-Reply-To: <55FD8C19.4050602@eastlink.ca> Comments: In reply to Ray Andrews "simple question regarding local variables" (Sep 19, 9:23am) References: <150918101506.ZM26893@torch.brasslantern.com> <55FC5BC8.4040107@eastlink.ca> <150918145300.ZM27125@torch.brasslantern.com> <55FD8C19.4050602@eastlink.ca> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: simple question regarding local variables MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Actually this is a simple question about sourcing. On Sep 19, 9:23am, Ray Andrews wrote: } } sourcing I understand to create a child shell No, sourcing explicitly does NOT create a child shell; "source" *means* to execute the commands in the current shell. Running a script by its name without sourcing is what creates a child shell.