Re: including a path in a batch run
- From: comp.unix.solaris@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (Andreas F. Borchert)
- Date: Fri, 28 Mar 2008 22:50:07 +0100 (CET)
On 2008-03-28, hume.spamfilter@xxxxxxx <hume.spamfilter@xxxxxxx> wrote:
Use:
blastloc = "~/bin/blast-2.2.18/bin/";
Well, the spaces should be removed--otherwise the shell attempts
to find a command named blastloc. Instead I suggest this:
blastloc=~/bin/blast-2.2.18/bin/
(The quotes and the semicolon at the end of the line are unnecessary. But
please take care that this gets executed by a /bin/ksh or /bin/bash as
/bin/sh does not support the ~ shortcut for $HOME.)
I'd also recommend picking up a book on Unix shell scripting.
»man sh« is quite readable.
Andreas.
.
- References:
- including a path in a batch run
- From: Ela
- Re: including a path in a batch run
- From: hume . spamfilter
- including a path in a batch run
- Prev by Date: Re: Beginner question
- Next by Date: Mexico City timezone
- Previous by thread: Re: including a path in a batch run
- Next by thread: Need help with IDPROM error message
- Index(es):
Relevant Pages
|