Do NOT get into this messy shit if you can avoid it! Use Python script instead if you can.
If you want to reliably get the name of a Bash script, it is recommended that you run the Bash script as an executable script instead of source it in.
Do NOT get into this messy shit if you can avoid it! Use Python script instead if you can.
If you want to reliably get the name of a Bash script, it is recommended that you run the Bash script as an executable script instead of source it in.