The pmemd configure script fails when I have /bin/sh directed to dash.
However, when I replace #!/bin/sh with #!/bin/bash, it works just
fine (it complains at line 471, though a quick glance couldn't tell me
the offending part). I've changed it and committed the changes to CVS
(all I changed was sh to bash). If there's another way you want to
address this then by all means, I just thought I'd reply here since it
was applicable to the discussion topic of dash vs. bash and sh
compatibility.
--Jason
On Wed, Dec 9, 2009 at 10:15 PM, Jason Swails <jason.swails.gmail.com> wrote:
> On Wed, Dec 9, 2009 at 9:53 PM, case <case.biomaps.rutgers.edu> wrote:
>>
>> On Wed, Dec 09, 2009, Jason Swails wrote:
>> >
>> > the command i was using was "ptraj prmtop script >& output"
>>
>> This is not a good command, that is, it is not part of the POSIX standard for
>> shells.
>>
>> what you want is this (I think!) : "ptraj prmtop script > output 2>&1"
>
> that is in fact what I wanted, but I picked up the habit as I was
> learning unix and it never slipped (i don't even know if >& redirects
> both stderr and stdout to the same place in bash). I'm not too
> worried about redirecting stderr, so the simple > is good enough (I
> changed all occurrences in the script). Hopefully the rest of my
> commands are POSIX compliant :)
>
>> ....dac
>>
>> _______________________________________________
>> AMBER-Developers mailing list
>> AMBER-Developers.ambermd.org
>> http://lists.ambermd.org/mailman/listinfo/amber-developers
>
>
> Thanks!
> Jason
> --
> ---------------------------------------
> Jason M. Swails
> Quantum Theory Project,
> University of Florida
> Ph.D. Graduate Student
> 352-392-4032
>
--
---------------------------------------
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Graduate Student
352-392-4032
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Fri Dec 11 2009 - 11:30:02 PST