Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/usr.bin/make
On Sat, 24 Jan 2009, David Laight wrote:
> Modified Files:
> src/usr.bin/make: make.1
>
> Log Message:
> Correct the definition of the :? modifier - in particular the modifier
> applies to the variable name, not its value!
The new text is no easier to understand than the old text. Please
could you add some examples illustrating how to use or not to use this
modifier. For example, what is the correct way to do what I am trying
to do below:
${empty(${VAR:arbitary_modifiers_here}):?is empty:not empty}
${${FOO} == ${BAR}:?same:different}
${defined(FOO) && ${BAR} > ${BAZ}:?expression is true:false}
${VAR:M42:?contains 42:does not contain 42}
--apb (Alan Barrett)
Home |
Main Index |
Thread Index |
Old Index