Re: Fwd: /bin/sh linked to dash? SOlVED, however..

2011-07-09 Thread Francesco Pietra
Actually, after my remarks to AMBER, they promised to make /bin/sh dash in any future release of their code. I am not modifying now the code for two reasons: --First, I will now use only a couple of tools from AMBER, not their main molecular dynamics code. That use will be very infrequent, if at

Re: Fwd: /bin/sh linked to dash? SOlVED, however..

2011-07-08 Thread Robert Isaac
On Thu, Jul 7, 2011 at 10:55 PM, Lennart Sorensen lsore...@csclub.uwaterloo.ca wrote: Finding all scripts with /bin/sh and changing them to /bin/bash can be done in a couple of lines of perl.  Trivial to do really It's more trivial to change the default shell to bash if it is necessary for a

Re: Fwd: /bin/sh linked to dash? SOlVED, however..

2011-07-08 Thread Bruce Sass
On July 8, 2011 03:39:01 PM Robert Isaac wrote: On Thu, Jul 7, 2011 at 10:55 PM, Lennart Sorensen lsore...@csclub.uwaterloo.ca wrote: Finding all scripts with /bin/sh and changing them to /bin/bash can be done in a couple of lines of perl. Trivial to do really It's more trivial to

Re: Fwd: /bin/sh linked to dash? SOlVED, however..

2011-07-08 Thread Lennart Sorensen
On Fri, Jul 08, 2011 at 05:39:01PM -0400, Robert Isaac wrote: It's more trivial to change the default shell to bash if it is necessary for a configuration, there is no need to get defensive about dash or force its use upon anyone that doesn't want to use it. So a few seconds saved whenever a

Re: Fwd: /bin/sh linked to dash? SOlVED, however..

2011-07-08 Thread brian m. carlson
On Fri, Jul 08, 2011 at 05:39:01PM -0400, Robert Isaac wrote: On Thu, Jul 7, 2011 at 10:55 PM, Lennart Sorensen lsore...@csclub.uwaterloo.ca wrote: Finding all scripts with /bin/sh and changing them to /bin/bash can be done in a couple of lines of perl.  Trivial to do really It's more

Re: Fwd: /bin/sh linked to dash? SOlVED, however..

2011-07-07 Thread Lennart Sorensen
On Sat, Jul 02, 2011 at 11:34:30PM +0200, Francesco Pietra wrote: The first I did (after having computed successfully with mopac on the basis of sh - bash), was to remove the symlink, having now again sh - dash, in order to avoid possible problems in addition to the many I am having since I

Fwd: Fwd: /bin/sh linked to dash? SOLVED, however..

2011-07-03 Thread Francesco Pietra
AMBER has now promised to point sh to dash in next versions of their packages. francesco -- Forwarded message -- From: Francesco Pietra chiendar...@gmail.com Date: Sat, Jul 2, 2011 at 11:34 PM Subject: Re: Fwd: /bin/sh linked to dash? SOlVED, however.. To: Lennart Sorensen lsore

Re: Fwd: /bin/sh linked to dash? SOLVED, however..

2011-07-03 Thread Frederik Juul Christiani
On Sun, Jul 3, 2011 at 08:24, Francesco Pietra chiendar...@gmail.comwrote: AMBER has now promised to point sh to dash in next versions of their packages. francesco I hope you meant bash (not dash) in the above, otherwise it will not help. -- Frederik

Re: Fwd: /bin/sh linked to dash? SOLVED, however..

2011-07-03 Thread Andrew McGlashan
Frederik Juul Christiani wrote: On Sun, Jul 3, 2011 at 08:24, Francesco Pietra chiendar...@gmail.com mailto:chiendar...@gmail.com wrote: AMBER has now promised to point sh to dash in next versions of their packages. francesco I hope you meant bash (not dash) in the above,

Re: Fwd: /bin/sh linked to dash? SOlVED, however..

2011-07-02 Thread Lennart Sorensen
On Fri, Jul 01, 2011 at 10:39:05PM +0200, Francesco Pietra wrote: Solved by # mv /bin/sh /bin/sh_original # ln -s /bin/bash /bin/sh now ls -l sh - /bin/bash and mopac does its job. Hopefully, this should also allow the hundreds of other codes inside the main code to work, if

Re: Fwd: /bin/sh linked to dash? SOlVED, however..

2011-07-02 Thread Francesco Pietra
The first I did (after having computed successfully with mopac on the basis of sh - bash), was to remove the symlink, having now again sh - dash, in order to avoid possible problems in addition to the many I am having since I added GPU to CPU for simulations. Then I went through the forum of

Fwd: /bin/sh linked to dash? SOlVED, however..

2011-07-01 Thread Francesco Pietra
Solved by # mv /bin/sh /bin/sh_original # ln -s /bin/bash /bin/sh now ls -l sh - /bin/bash and mopac does its job. Hopefully, this should also allow the hundreds of other codes inside the main code to work, if the same problem occurs. However, I would like to have the opinion of those who

Re: Fwd: /bin/sh linked to dash? SOlVED, however..

2011-07-01 Thread brian m. carlson
On Fri, Jul 01, 2011 at 10:39:05PM +0200, Francesco Pietra wrote: and mopac does its job. Hopefully, this should also allow the hundreds of other codes inside the main code to work, if the same problem occurs. However, I would like to have the opinion of those who know if this is the