Hi Ralf, On Sun, Mar 20, 2005 at 08:18:48AM +0100, Ralf Wildenhues wrote: > > Ralf Wildenhues wrote: > > > This is not ok: $ECHO may only take one argument, so you must
What systems have that problem? What do they do with the latter arguments? > > > double-quote. Furthermore, the argument may not start with a hyphen > > > in general, for it might be misinterpreted as option to the $ECHO > > > command. The solution is to use the slower > > > $ECHO "X$what $ever" | $Xsed > > > > I see this bug is in several places here. :-/ Do there exist `echo' commands that interpret something other than `-n', `-e', `-E', `--version', or `--help' as options? If it is only specific leading arguments that cause trouble and not arbitrary `-STRING', we need not use $Xsed in too many places.
