0

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!

2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by lehe
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.