On 29Dec2010 10:27, Fred Drake email@example.com wrote: | On Wed, Dec 29, 2010 at 9:40 AM, Paul Moore firstname.lastname@example.org wrote: | > I like the idea, but that's a fairly big semantic change. What about | > adding an -e option that takes an expression, and prints its value? | | +1 | | Changing -c would be unacceptable.
My -1 on having -c output the final value is as for the shell: does "sh -c sh-cmd" have an implied echo? No, and lucky we are that it does not.
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. - Brian W. Kernighan