Package: dash
Version: 0.5.3-7
Severity: normal

"shift" builtin command terminate script independent on "errexit" flag
(set +x)

For example: run ./test.sh without params
------ test.sh -----
#!/bin/dash -x

set +e
shift
echo "command after shift"
-------------


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)

Versions of packages dash depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries

dash recommends no packages.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to