Package: ash
Version: 0.5.4-9
Severity: normal

~$ env -i '1=' ash -c 'export -p'
export 1=''
export PWD='/home/chazelas'
~$ env -i '1=' ash -c 'export'
export 1=''
export PWD='/home/chazelas'
$ env -i '=' ash -c 'export'
export =''
export PWD='/home/chazelas'

ash should report about the "1" and "" variables above as they
are not mapped to shell variables.

The output of "export -p" is meant to be suitable for reinput to
the shell.

SUSv3:
  The shell shall format the output, including the proper use of
  quoting, so that it is suitable for reinput to the shell as
  commands that achieve the same exporting results,

$ env -i '=' ash -c 'export -p' | ash
export: 1: : bad variable name

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-rc8 (PREEMPT)
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages ash depends on:
ii  dash                          0.5.4-9    POSIX-compliant shell

ash recommends no packages.

-- debconf-show failed



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

Reply via email to