I'm looking at my bash man page and I'm expecting to find some option that I can use to make it echo every command that it executes. The description of --verbose was pretty terse!
Is --verbose supposed to make it echo every command it executes?
My bash script script (named ws2) contains a single function (named ws) and I cannot get it to echo the commands.
Maybe I don't understand functions. When I type
bash --verbose ~/.bash/ws2
no commands are echoed. Could that be because there are no commands and only a single function?
OK,
Now I type
ws arg1 arg2
Hmm... It appears to execute. Now how do I make it echo every command?
Thanks,
Siegfried