, directoryname/filename.log is not (directly) accessible to the script.file.pl update directoryname/error.txt directoryname/filename.txt >& d +irectoryname/filename.log
Given that your script knows its own PID ($$), you may be able to parse it [the full command line] from the process tree e.g. by parsing the output from ps -fp $$...
In reply to Re: Pass arguments
by Bloodnok
in thread Pass arguments
by sandy1028
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |