Details
Details
- Reviewers
wblock - Commits
- rD48261: Add a tip about opt_VARS and whitespace.
Diff Detail
Diff Detail
- Repository
- rD FreeBSD doc repository - subversion
- Lint
No Lint Coverage - Unit
No Test Coverage - Build Status
Buildable 2657 Build 2676: Jenkins Build Doc Jenkins Build 2675: arc lint + arc unit
Event Timeline
en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml | ||
---|---|---|
4493 | To avoid the if/pause/then, how about: Values containing whitespace must be enclosed in quotes: | |
4497 | s/because of/due to/ | |
4498 | How about: expansion deals with whitespace. When <literal>OPT_VARS= foo=bar baz</literal> is expanded, the variable ends up containing two strings, <literal>foo=bar</literal> and <literal>baz</literal>. But the submitter probably intended there to be only one string, <literal>foo=bar baz</literal>. Quoting the value prevents whitespace from being used as a delimiter.</para> |