On Tue, 8 May 2007 11:04:02 +0300 [EMAIL PROTECTED] (Andrei Popescu) wrote:
> On Mon, May 07, 2007 at 08:27:45PM -0400, Celejar wrote: > > > Minor nit: in Debian, '/bin/sh' is a symlink to bash; I don't know what > > it is on other systems. So IIUC, when you write '#!/bin/sh', you aren't > > really specifying a shell, but are rather saying 'use the standard > > shell'. > > Which can be different from system to system: That's what I meant to imply. > ls -l /bin/sh > lrwxrwxrwx 1 root root 9 2007-03-23 02:30 /bin/sh -> /bin/dash > > /bin/sh is rather used for POSIX compatibility. That's sort of what I meant; I was responding to Andrew who had implied that writing '/bin/sh' will '[ensure] script compatibility across different systems' > Regards, > Andrei Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]