Edward Pilatowicz wrote:
> make sure you're sitting down because this may come as a bit of a shock,
> but ksh93 seems to break when run in non-C locals with time/ptime.
> 
> 6805584 ksh93 in non-C locale breaks time/ptime
[snip]

Erm... the bug is not available on
http://bugs.opensolaris.org/view_bug.do?bug_id=6805584 yet... ;-(

... what exactly is the problem ? I've tried this:
-- snip --
$ ksh93
$ env | egrep
'^(LANG|LC_)'                                                                   
                       
LANG=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
$ ptime ksh93 -c 'print
hello'                                                                          
             
hello

real        1.132161796
user        0.107367549
sys         0.075011436
-- snip --

The output for "bash" looks similar:
-- snip --
bash-3.2$ env | egrep '^(LANG|LC_)'
LC_MONETARY=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
bash-3.2$ ptime bash -c 'echo hello'
hello

real        0.007902673
user        0.002200586
sys         0.004379013
-- snip --

----

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