Package: dash Version: 0.5.5.1-6 Severity: important File: /bin/dash
the condition is not working anymore into SH (still it can under BASH) meu...@pc001:~$ [ "$HOSTNAME" = "pc001" ] && echo hello hello meu...@pc001:~$ sh .startup meu...@pc001:~$ bash .startup hello meu...@pc001:~$ sh .startup meu...@pc001:~$ cat .startup if [ "$HOSTNAME" = "pc001" ] ; then echo hello meu...@pc001:~$ cat .startup if [ "$HOSTNAME" = "pc001" ] ; then echo hello meu...@pc001:~$ sh .startup meu...@pc001:~$ bash .startup hello meu...@pc001:~$ [ "$HOSTNAME" = "pc001" ] && echo hello hello meu...@pc001:~$ Best regards Y. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dash depends on: ii debianutils 3.2.3 Miscellaneous utilities specific t ii dpkg 1.15.7.2 Debian package management system ii libc6 2.10.2-9 Embedded GNU C Library: Shared lib dash recommends no packages. dash suggests no packages. -- debconf information: * dash/sh: true -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

