read(1) garbage when input redirected from make incorrectly
Dag-Erling Smørgrav
des at des.no
Tue Feb 16 11:49:55 UTC 2010
Garrett Cooper <yanefbsd at 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
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-hackers
mailing list