-1
$\begingroup$

I tried running the following command

/public/home/WHC_BBT/Softwares/bin/bin/denovo_map.pl --samples $RawData -O $Popmap -o $fullM2n3 -M 2 -n 3 -m 3 -T 15 &> $logfile

This is the error I got

/opt/gridview//pbs/dispatcher/mom_priv/jobs/14923.admin.SC: line 6: $logfile: ambiguous redirect

I need help on how to resolve this.

Thanks.

$\endgroup$
0
$\begingroup$

This most likely means your variable $logfile does not exist.

$\endgroup$
0
$\begingroup$

At a guess, the variable $logfile is not properly defined (i.e. it hasn't been defined at all). What is the output of the following command:

echo "logfile: ${logfile}"
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.