On 9/8/10 12:03 PM, Michał Górny wrote: > We already have a variety of use_*() functions with their specific > uses. But what I miss is a single, simple and universal use_echo() > function, behaving similarly to ?: operator in C. In other words, a > simple function replacing monsters like: > $(use foo && echo bar || echo baz)
I'm not sure about the name use_echo, but some form of ternary operator other than "&& ||" (which is very hard to read for me and just error prone) would be very useful. Paweł
signature.asc
Description: OpenPGP digital signature