Ienup Sung wrote:
> Roland Mainz wrote at 08/14/09 17:16:
> > [I'ce CC'ed Ienup Sung <Ienup.Sung at Sun.COM> and Masaki Katakai
> > <katakai at japan.sun.com> for the i18n parts and Don Cragun
> > <dcragun at sonic.net> as standards expert]
> >
> > During testing of a new version of the AST "wc" (not the version for
> > ksh93-integration update2, this one is a newer one) we hit the issue
> > below where two of the testcases show different results for AST "wc",
> > GNU coreutils "wc" and Solaris /usr/bin/wc ...
> > ... the question is now: What is the expected (from an i18n+standards
> > point of view) output for both testcases ?
> >
> > -------- Original Message --------
> > Subject: wc broken on GNU and Solaris
> > Date: Fri, 14 Aug 2009 17:57:14 -0400
> > From: David Korn <dgk at research.att.com>
> > To: roland.mainz at nrubsig.org
> >
> > I have attached two one line files below.
> >
> > The file oneline1 when run with the GNU /usr/bin/wc -mwl in
> > the en_US.UTF-8 shows 1 word.  The Solaris version shows 17
> > which is correct.
> >
> > However, for oneline2, the Solaris version shows 32 and the
> > Gnu version shows 17 which I believe is correct.
> > Ours shows 17 for both.
> >
> > ========================================
[snip]
> Fri Aug 14 18:56:43 PDT 2009
> opensolaris% env LC_ALL=en_US.UTF-8 /usr/bin/wc -mwl oneline?
>         1      17      75 oneline1
>         1      17      59 oneline2
>         2      34     134 total
> opensolaris% env LC_ALL=en_US.UTF-8 /usr/gnu/bin/wc -mwl oneline?
>    1  17  75 oneline1
>    1  17  59 oneline2
>    2  34 134 total
> opensolaris%
> 
> Was there any specific environment setup that I missed?

No, not that I am aware of...
... can you check the Solaris 8 and Solaris 9 versions of /usr/bin/wc
whether they print any other numbers, please (I'm trying to figure out
where the value "32" comes from) ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

Reply via email to