/bin/sh linked to dash?

2011-07-01 Thread Francesco Pietra
I wonder whether amd64 wheezy links /bin/sh to dash instead of bash. I am getting error Bad fd number, can't run mopac.h in a mopac.sh calculation (mopac compiled fortran, in fact a FOR005 file is generated, and not deleted by mopac probably because it was running bad). I am asking that (and

Re: /bin/sh linked to dash?

2011-07-01 Thread Wayne Topa
On 07/01/2011 01:48 PM, Francesco Pietra wrote: I wonder whether amd64 wheezy links /bin/sh to dash instead of bash. Yes to both wheezy and sid here wtopa@dj:~$ ls -l /bin/sh lrwxrwxrwx 1 root root 4 Feb 2 12:56 /bin/sh - dash* wtopa@dj:~$ ls -l /media/wheezy/bin/sh lrwxrwxrwx 1 root root 4

Re: /bin/sh linked to dash?

2011-07-01 Thread Manolo Díaz
El Fri, 1 Jul 2011 19:48:09 +0200 Francesco Pietra chiendar...@gmail.com escribió: I am getting error Bad fd number, can't run mopac.h in a mopac.sh calculation (mopac compiled fortran, in fact a FOR005 file is generated, and not deleted by mopac probably because it was running bad). It's

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