I bet we can fix those occurances safely.
-Brian
--
Brian Elliott Finley
CIS / Argonne National Laboratory
Office: 630.252.4742
Mobile: 630.631.6621
-----Original Message-----
From: Ethan Mallove <ethan.mallove_at_[hidden]>
Date: Fri, 31 Oct 2008 13:14:59
To: General user list for the MPI Testing Tool<mtt-users_at_[hidden]>
Cc: Brian Elliott Finley<finley_at_[hidden]>; <jsquyres_at_[hidden]>
Subject: Re: [MTT users] Patch for whatami (new sles10 lsb-release file
format)
I'm still getting the error. Solaris sh seems to genuinely
have a problem with foo=$(bar) syntax:
$ cat ./dollar-paren.sh
#!/bin/sh
foo=$(date)
$ ./dollar-paren.sh
dollar-paren.sh: syntax error at line 2: `foo=$' unexpected
Backticks seem to work though. E.g.,
foo=`date`
-Ethan
On Fri, Oct/31/2008 02:01:55PM, Jeff Squyres wrote:
> Sorry; my stupid mailer didn't display it as an attachment when I
> forwarded. Try this.
>
> On Oct 31, 2008, at 1:56 PM, Ethan Mallove wrote:
>
>> On Fri, Oct/31/2008 01:01:02PM, Jeff Squyres wrote:
>> > Re-sending to the MTT list, because I think our listserver will
>> > automatically block Brian (I'll add him to the whitelist for future
>> > posts!).
>>
>> I'm getting a syntax error:
>>
>> $ whatami
>> whatami: syntax error at line 149: `DISTRIB_ID=$' unexpected
>>
>> Not sure if I'm doing a bad copy/paste out of my mail
>> client. Jeff, can you send the new whatami script as an
>> attachment?
>>
>
>
> --
> Jeff Squyres
> Cisco Systems
> _______________________________________________
> mtt-users mailing list
> mtt-users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/mtt-users
|