From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10373 invoked by alias); 8 Apr 2014 15:00:21 -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: 18711 Received: (qmail 27207 invoked from network); 8 Apr 2014 15:00:07 -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=-0.3 required=5.0 tests=BAYES_00,DATE_IN_PAST_03_06, RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=no version=3.3.2 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@zsh.org From: Martin Vaeth Subject: Re: Reading output into variables Date: Tue, 8 Apr 2014 11:32:31 +0000 (UTC) Message-ID: References: Reply-To: martin@mvath.de X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lounge.imp.fu-berlin.de User-Agent: slrn/pre1.0.0-26 (Linux) Yuri D'Elia wrote: > > program | read a b > > minus the subshell. In zsh or bash: read a b < <(program) In POSIX (hence also in zsh or bash): read a b <