From owner-freebsd-hackers@FreeBSD.ORG Tue Feb 16 11:49:55 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 383A9106568D for ; Tue, 16 Feb 2010 11:49:55 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id EF4C08FC0C for ; Tue, 16 Feb 2010 11:49:54 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 072CF1FFC53; Tue, 16 Feb 2010 11:49:54 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id D5BC6844BD; Tue, 16 Feb 2010 12:49:53 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Garrett Cooper References: <364299f41002151649y2e4d4120p918759afb1fd8f6c@mail.gmail.com> <7d6fde3d1002151655q184c8a21k8a0c6c07b9b0ae79@mail.gmail.com> Date: Tue, 16 Feb 2010 12:49:53 +0100 In-Reply-To: <7d6fde3d1002151655q184c8a21k8a0c6c07b9b0ae79@mail.gmail.com> (Garrett Cooper's message of "Mon, 15 Feb 2010 16:55:08 -0800") Message-ID: <86eikljt7i.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD-Hackers Subject: Re: read(1) garbage when input redirected from make incorrectly X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2010 11:49:55 -0000 Garrett Cooper writes: > $ read DESTDIR SRCCONF < /usr/bin/make -V DESTDIR -V SRCCONF The LHS of < is a command, the RHS is the name of the file to be read. After that, you can have further redirections, a command separator (semicolon, single or double ampersand, single or double pipe etc.), or, depending on context, various other stuff such as a paren, bracket, backquote etc. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no