The following is a bug report sent to the Debian bug system. I can
reproduce the problem with the latest (5/11/2007) release.

------- Forwarded Message

Date:    Tue, 09 Oct 2007 18:10:22 +0200
From:    Vincent Lefevre <[EMAIL PROTECTED]>
To:      Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: Bug#445992: ksh: an unmatched [ yields a second [

Package: ksh
Version: 93s+20070628-1
Severity: normal

As shown below, with Debian's ksh93, an unmatched [ yields a second [
and this is incorrect (other POSIX shells and even ksh93 under Mac OS X
do not have this problem).

vin:~> ksh93 --version
  version         sh (AT&T Research) 1993-12-28 s+
vin:~> ksh93 -c 'echo a['
a[[
vin:~> ksh --version
zsh 4.3.4 (i686-pc-linux-gnu)
vin:~> ksh -c 'echo a['
a[
vin:~> bash -c 'echo a['
a[
vin:~> dash -c 'echo a['
a[

And under Mac OS X:

prunille:~> ksh --version
  version         sh (AT&T Labs Research) 1993-12-28 p
prunille:~> ksh -c 'echo a['
a[

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

Kernel: Linux 2.6.22-1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages ksh depends on:
ii  libc6                         2.6.1-5    GNU C Library: Shared libraries

ksh recommends no packages.

- -- no debconf information
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to