We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
$0
#!/bin/dash $0=myname
$0 can not be changed in Dash.
You appear to be trying to assign a new value to $0 in Dash.
Dash does not support this. Write around it, or switch to Bash.
If you instead wanted to compare the value of $0, use a comparison like [ "$0" = "myname" ].
[ "$0" = "myname" ]
There was an error while loading. Please reload this page.