Bug#590920: dash does not support multi-digit file descriptors

2011-11-01 Thread Jilles Tjoelker
> [possibly allowing fd>9 in redirections] Removing the limit of 10 file descriptors accessible to redirections is not as easy as it seems. An easy change is to raise the limit from 10 to, say, 24, like mksh has done. Although this allows access to more file descriptors, it also increases the 'ul

Bug#590920: dash does not support multi-digit file descriptors

2011-09-26 Thread Jonathan Nieder
severity 590920 wishlist quit Hi, david b wrote: > Here is an example: > dash -c "(flock -w 0 200 ; echo foo) 200>/tmp/lock" > Output: > dash: Syntax error: word unexpected POSIX (XCU ยง2.7 "Redirection") sayeth: Open files are represented by decimal numbers starting

Bug#590920: dash does not support multi-digit file descriptors

2010-07-29 Thread david b
Package: dash Version: 0.5.4-12 Severity: normal As per https://bugs.launchpad.net/ubuntu/+source/dash/+bug/249620 , dash not support multi-digit file descriptors. Here is an example: dash -c "(flock -w 0 200 ; echo foo) 200>/tmp/lock" Output: dash: Syntax error: word unexpected