Problem with 'tr' command

From: "Kaushik, Sushil" <sushil(dot)kaushik(at)bankofamerica(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Problem with 'tr' command
Date: 2007-02-13 20:46:09
Message-ID: 2850170A4D2B7945B2053622DB190F1C7FE3E6@ex2k.bankofamerica.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am having a problem running the 'tr' command:

This is what I expected (tested in development environment)
Version: HP-UX sdmw728a B.11.00 U 9000/800

sdmw728a:clmdev: /apdev/clmdev/cl_be/4300/bin> x=PMRR
sdmw728a:clmdev: /apdev/clmdev/cl_be/4300/bin> echo $x | tr [A-Z] [a-z]
pmrr
sdmw728a:clmdev: /apdev/clmdev/cl_be/4300/bin> y=BACARDI
sdmw728a:clmdev: /apdev/clmdev/cl_be/4300/bin> echo $y | tr [A-Z] [a-z]
bacardi


And this is what I am getting in production environment
Version: HP-UX spfe631a B.11.11 U 9000/800

[spfe631a]/home1/d/dev_tech $ x=PMRR
[spfe631a]/home1/d/dev_tech $ echo $x | tr [A-Z] [a-z]
PMRR
[spfe631a]/home1/d/dev_tech $ y=BACARDI
[spfe631a]/home1/d/dev_tech $ echo $y | tr [A-Z] [a-z]
BxCxRDI

Why the same command behave differently on the same version of HP-UX.


Sush
Distributed Systems - CLMS Development
Phone: 302-457-5082

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2007-02-13 20:58:10 Re: Using PITR for creating Hot Standby
Previous Message Kenneth Downs 2007-02-13 20:08:53 Re: Using PITR for creating Hot Standby