Package: dash
Version: 0.5.5.1-7.4
Severity: normal

The following program:
--
#!/bin/sh

(
    flock -n 200
         # ... commands executed under lock ...
) 200>/var/lock/mylockfile
--
as in 'man flock' does not work with dash:
/home/markus/bin/test_lock: 6: Syntax error: word unexpected

-- System Information:
Debian Release: 6.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.37-2-686 (SMP w/1 CPU core)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dash depends on:
ii  debianutils                   3.4        Miscellaneous utilities specific t
ii  dpkg                          1.15.8.11  Debian package management system
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib

dash recommends no packages.

dash suggests no packages.

-- debconf information:
* dash/sh: true



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to