Running:
should shed some light on the problem.strace ./backup
Also, make sure the file is properly newline terminated (I've sometimes seen weird problems running shell scripts transferred from Windows that were terminated with \r\n).
In reply to Re: Invoking Perl on a script, vs. using shebang
by eyepopslikeamosquito
in thread Invoking Perl on a script, vs. using shebang
by liverpole
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |