Re: including a path in a batch run
- From: hume.spamfilter@xxxxxxx
- Date: Fri, 28 Mar 2008 11:25:07 +0000 (UTC)
Ela <ela@xxxxxxxxxx> wrote:
What is the syntax of including a variable in this batch run file? Thanks a
lot
Are you trying to write a DOS-style batch file on Solaris? That won't
work.
What does the first line of your script say? If you're trying to write
a shellscript on any Unix, the first line should start with "#!" with
the path to shell afterward.
$blastloc = "~/bin/blast-2.2.18/bin/";
At a guess? $blastloc holds no value. So, since you've used '$', the
shell is substituting the value of blastloc into the script... which, right
now is nothing.
So that line becomes:
= "~/bin/blast-2.2.18/bin/";
Which makes no sense.
Use:
blastloc = "~/bin/blast-2.2.18/bin/";
I'd also recommend picking up a book on Unix shell scripting.
--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
.
- Follow-Ups:
- Re: including a path in a batch run
- From: Andreas F. Borchert
- Re: including a path in a batch run
- References:
- including a path in a batch run
- From: Ela
- including a path in a batch run
- Prev by Date: Process state information in winXP
- Next by Date: JES5 motd on stock solaris 10
- Previous by thread: including a path in a batch run
- Next by thread: Re: including a path in a batch run
- Index(es):
Relevant Pages
|