in reply to Re: Running a Perl Code within a Perl Code Using "Shell Module"
in thread Running a Perl Code within a Perl Code Using "Shell Module"
Does this script does what it should:~/MyPerl | |__ ans # this stores all the .fasta files (input) |__ result_ans # to store the result |__ mycode.pl
Cause it gives this message:find ans/ -name '*.fasta' -maxdepth 1 -print0 \ | xargs -r -0 -P5 -n1 sh -c 'perl mycode.pl "$1" > ~/MyPerl/result_ans +/"$1".out' ''
: /home/myname/MyPerl/result_ans/ans/hm14_ans.fasta.out: No such file +or directory
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Running a Perl Code within a Perl Code Using "Shell Module"
by Aristotle (Chancellor) on Nov 10, 2005 at 04:06 UTC |