There are two bash usages:
bash
$ bash -c 'echo $0' bash $bash -c 'echo $0' "text" text
Why in the first case parameter $0 holds the program name but in second the first parameter?
$0
bash ×1