On 5 Apr 2011, at 9:58 am, yy wrote:
I'm really impressed of how much we can talk about such a simple program as echo.
Me also. Yet another solution is not to use echo in the first place. This won't work on p9p, but on plan 9 if you want to echo $foo where $foo(1) might possibly be '-n', you can cat /env/foo instead.
If you have a var which is never going to contain _just_ '-n' alone, then you can echo $"foo