Problem with 'tr' command - Mailing list pgsql-general

From Kaushik, Sushil
Subject Problem with 'tr' command
Date
Msg-id 2850170A4D2B7945B2053622DB190F1C7FE3E6@ex2k.bankofamerica.com
Whole thread Raw
Responses Re: Problem with 'tr' command  (Chris <dmagick@gmail.com>)
List 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

pgsql-general by date:

Previous
From: "Slawek"
Date:
Subject: Slony Replication problem
Next
From: "Administrator Az.pl"
Date:
Subject: [ADM #INO-38939-552]: [ANNOUNCE] Advisory on possibly insecure security definer functions