Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 2010 12:49:53 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Garrett Cooper <yanefbsd@gmail.com>
Cc:        FreeBSD-Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: read(1) garbage when input redirected from make incorrectly
Message-ID:  <86eikljt7i.fsf@ds4.des.no>
In-Reply-To: <7d6fde3d1002151655q184c8a21k8a0c6c07b9b0ae79@mail.gmail.com> (Garrett Cooper's message of "Mon, 15 Feb 2010 16:55:08 -0800")
References:  <364299f41002151649y2e4d4120p918759afb1fd8f6c@mail.gmail.com> <7d6fde3d1002151655q184c8a21k8a0c6c07b9b0ae79@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Cooper <yanefbsd@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86eikljt7i.fsf>