Subject: Re: ksh bug?
To: None <current-users@NetBSD.org>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: current-users
Date: 09/13/2006 12:01:49
Jukka Salmi wrote:
> 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
>
>
> Hints are welcome...
>
> TIA, Jukka
>
>   

I suspect a pdksh bug.  Solaris ksh does the same thing as bash.  So
does /usr/xpg4/bin/sh, and /bin/sh.

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191