This was the message I got when tried the variable with the file name.
Can't open file /Users/athina/check-ma/$ID${l}/F${j}\/gangle-dihedrals-${i}${id}${k}.xvg: No such file or directory at auto-dash.pl line 33.The problem was the single quotes, once I replaced them with double quotes the problem was solved. Phew, that was a super easy one that I didn't even think to do... :( Thank you for your time and advice!
In reply to Re^2: 'open for read' fails as "no such file or directory" but file is there
by fasoli
in thread 'open for read' fails as "no such file or directory" but file is there
by fasoli
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |