* Eric Blake wrote on Wed, Nov 19, 2008 at 06:12:27AM CET:
> >>> - RM="$ECHO $RM"
> >>> + RM="echo $RM"
> >> Are all of these safe, considering mingw might have \ in an absolute
> >> pathname to these tools?
> >
> > No, and I'm glad you ask about this. The point here is that there is
> > more than one argument following, and I didn't see an easy way to escape
> > them properly, so I figured take the less likely of the bugs, as
> > RM="$ECHO rm -f" is quite certain to do the wrong thing. Suggestions?
>
> Well, on mingw native, the default sh has an echo that doesn't eat \. But
> that doesn't help if you are doing a Solaris-mingw cross. I'm also
> stumped on thinking of any better alternative, though.
func_echo_all ()
{
$ECHO "$*"
}