Re: arguments to script prefixed with "--" in debug

2009-02-27 Thread Jan Schampera
lehe wrote: > Hi, > I am trying to debug my shell script by bashdb. My script take as argument > "--gdb", so I wrote > bashdb myscript.sh --gdb > However, this way it will produce error that bashdb: > unrecognized option '--gdb' > > If I quote --gdb as > bashdb myscript.sh '--gdb' > th

arguments to script prefixed with "--" in debug

2009-02-26 Thread lehe
Hi, I am trying to debug my shell script by bashdb. My script take as argument "--gdb", so I wrote bashdb myscript.sh --gdb However, this way it will produce error that bashdb: unrecognized option '--gdb' If I quote --gdb as bashdb myscript.sh '--gdb' then I will end up with the quote