When I invoke bash with the -x option, it prints each command before it is executed. However - the commands are printed with a "+ " prefix.
Is there a way to get it to print the commands, but without this prefix? With -x or without it?
Insert as the first line :
set -v then run it without -x
set -v doesn't print the same thing as set -x -- it prints commands before variables etc are expanded. For example, if you have var="value" and the command echo {1..2} "$var", with set -x it prints + echo 1 2 value, but with set -v it prints echo {1..2} "$var".