-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/11/11 11:15, J. Bakshi wrote: > > Hello list, > > 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 - -- |_|0|_| | |_|_|0| "Heghlu'Meh QaQ jajVam" | |0|0|0| -------- kuLa --------- | gpg --keyserver pgp.mit.edu --recv-keys 0xC100B4CA -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOumT8AAoJEOqHloDBALTKUQUH/01NYGSgWg9qu3hQU1Nv0XA4 gBt3SYATMpGVNsezGWx99P1+N97bUrLdxKjzL1vDsdjBAj5HAWED0DEFb+jVLcKh JUzRwW5j8HHVPyzatbtIn4KghaEQCY7HnPHPhlDIZ2eMskxwjIgY6k9EhZiRdxcy lt1M7fN1aI/WMgUgj6gSZo50385WB3rkfjUwQgTzqG0XxBza8pDRxnsz3/mg3rTj wzuzceeEcdR0xyC5XG7ljrsQ6GptFP3eLQYksj81Eyeovg1RH6etXYuez9uB0jb1 2YddyKleJZmMlqEcFcdUFWHcZIMdpKOfTx6qAyZXKPoDgECnPXpZy+CZo0c7Gco= =Jgu5 -----END PGP SIGNATURE----- -- 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/4eba64fd.6050...@kulisz.net