Re: gnulib-tool: possible bug in detection of a working `echo' command

2009-08-31 Thread Bruno Haible
Hi Stefano, > The bug is in this command: > $CONFIG_SHELL -c 'echo '\t' | grep t > /dev/null' > which should check if $CONFIG_SHELL (when set) has a usable `echo' > command. But the way it's written, that test *always* succeds, > even if $CONFIG_SHELL has a broken `echo' builtin. This is cause

gnulib-tool: possible bug in detection of a working `echo' command

2009-08-31 Thread Stefano Lattarini
Hi everybody. While skimming through the gnulib-tool source code, I spotted what seems to be a minor bug in the code that looks for a "working" `echo' command (i.e. an `echo' that doesn't interpret backslashes). This is around line 700-710 in my copy of gnulib-tool, which should be up-to-date w.r.