0
votes

I need to sent the name of PBS job name as the last folder in the working directory. I apply the following line:

#PBS -N (eval "${PWD##*/}")

But seems it is an incorrect option.

1

1 Answers

0
votes

does this not work:

PBS -N "${PWD##*/}"