so I have this bash file called test.sh
#!/bin/bash -l out_file=`basename "$0"` #SBATCH --gpus=1 #SBATCH -p long #SBATCH -o err_${out_file::-3}.out and I want to output the error to err_test.out, which is what I'm trying to do in the above file, but it's giving an error. Doesn't like the = how can I set the output file to the file name I specified.