[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
arguments to script prefixed with "--" in debug
From: |
lehe |
Subject: |
arguments to script prefixed with "--" in debug |
Date: |
Thu, 26 Feb 2009 09:33:18 -0800 (PST) |
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 quotes as part of my argument.
How could I fix this problem? Thanks!
--
View this message in context:
http://www.nabble.com/arguments-to-script-prefixed-with-%22--%22-in-debug-tp22229369p22229369.html
Sent from the Gnu - Bash mailing list archive at Nabble.com.
- arguments to script prefixed with "--" in debug,
lehe <=