Package: dash
Version: 0.5.3-3
Severity: wishlist

Hi,

one is allowed to use

----- snip -----
#!/bin/ash

for arg
do
   echo $arg
done

----- snap -----

(Under the hood the above expands to for arg in "$@" ...)

but the manpage gives the impression
the syntax 'for arg in list' is mandatory IIUC.

It would be nice if the behaviour would be made
more clear like in the manpage for the bash shell.

thanks

   --lars

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

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

dash recommends no packages.

-- debconf information:
* dash/sh: true


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

Reply via email to