Subject: Re: ksh bug?
To: None <current-users@NetBSD.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: current-users
Date: 09/14/2006 03:21:34
Jukka Salmi --> current-users (2006-09-13 20:40:45 +0200):
> Hi,
> 
> which shell is right?
> 
> $ cat reldate
> echo "`cut -d\\\" -f2 reldate.h`"
> 
> $ cat reldate.h
> const char *ReleaseDate = "2006-09-08";
> 
> $ ksh reldate
> reldate: no closing quote
> 
> $ sh reldate
> 2006-09-08
> 
> $ bash reldate
> 2006-09-08

I probably should have tried this before:

$ /usr/pkg/bin/pdksh reldate
2006-09-08

The problem seems to be specific to the NetBSD in-tree version of PD
KSH. Any hints which change could be the culprit? Output of `diff -r
pdksh-5.2.14 src/bin/ksh' is rather large...


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~