On Wed, Nov 9, 2011 at 6:41 AM, J. Bakshi <baksh...@gmail.com> wrote: > On Wed, 09 Nov 2011 11:33:17 +0000 > kuLa <deb...@kulisz.net> wrote: >> On 09/11/11 11:15, J. Bakshi wrote: >> > >> > I have upgraded a very old lenny server to squeeze. >> > The shell scripts are now malfunctioning; specially the >> > loop statement. Moreover "sh -x <script>" are malfunctioning >> > but :bash -x <script>" are running fine. what actually I am missing >> > here ? I have tried both with #!/bin/bash and #!/bin/sh but the same >> > problem with "sh -x <script>" >> >> Default shell in squeeze is dash not like in lenny where was bash. >> http://wiki.debian.org/Shell > > I see.. but should user redesign the script if use dash ? > Any compatibility, at-lease for running the existing shell script > for bash ?
http://mywiki.wooledge.org/Bashism -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=SyQPKv4viYARPCGX1CK4NLLZkaT=bdfdgud8idrfof...@mail.gmail.com