Re: Command name dequote does not work

2014-04-15 Thread Eduardo A . Bustamante López
On Tue, Apr 15, 2014 at 03:53:42PM +0200, ingo.kra...@eoa.de wrote: > I finally found it. I forgot to check the function names. It's a function of > bash-completion, though I don't think that such a function name should be > exported. bash-completion is a package apart from bash. So, you should r

Re: Command name dequote does not work

2014-04-15 Thread ingo . krabbe
I finally found it. I forgot to check the function names. It's a function of bash-completion, though I don't think that such a function name should be exported. --- Begin Message --- Not sure we have enough info here. Have you tried "set -x" to see what's really going on? Have you also confirmed

Re: Command name dequote does not work

2014-04-15 Thread Dan Douglas
On Tuesday, April 15, 2014 05:46:07 PM Ralf Goertz wrote: > I am not the OP but on OpenSuse 13.1 I have > > $ type dequote > dequote is a function > dequote () > { > eval printf %s "$1" 2> /dev/null > } If you're already aware, for the benefit of others, that's a very dangerous func

Re: Command name dequote does not work

2014-04-15 Thread Ralf Goertz
Chet Ramey wrote: > On 4/15/14, 3:32 AM, ingo.kra...@eoa.de wrote: > >> Bash Version: 4.2 >> Patch Level: 37 >> Release Status: release >> >> Description: >> I wrote a simple shell script using sed to convert \n into newlines and >> other \\(.) to \\\1 and >> called that script dequote. When I'

Re: Command name dequote does not work

2014-04-15 Thread Chet Ramey
On 4/15/14, 3:32 AM, ingo.kra...@eoa.de wrote: > Bash Version: 4.2 > Patch Level: 37 > Release Status: release > > Description: > I wrote a simple shell script using sed to convert \n into newlines and > other \\(.) to \\\1 and called that script dequote. > When I'm trying to call it nothi

Re: Command name dequote does not work

2014-04-15 Thread Pierre Gaston
On Tue, Apr 15, 2014 at 10:32 AM, wrote: > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' > -DC

Re: Command name dequote does not work

2014-04-15 Thread Dan Douglas
Not sure we have enough info here. Have you tried "set -x" to see what's really going on? Have you also confirmed that it isn't actually calling your script and the script simply isn't functioning as expected? -- Dan Douglas

Command name dequote does not work

2014-04-15 Thread ingo . krabbe
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKA