<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: discovered an issue when performing a remote tr (translate) command on hpux 11v3. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252562#M471111</link>
    <description>&amp;gt;MK: Connection sanity check in local -&amp;gt; remote direction:&lt;BR /&gt;&amp;gt;remsh badBOX "echo abCd | od -b"&lt;BR /&gt;&lt;BR /&gt;A better output is hex, not octal: echo abCd | xd -tx1 -tc"&lt;BR /&gt;&lt;BR /&gt;What architecture/model are the two boxes?&lt;BR /&gt;&lt;BR /&gt;Perhaps the next check is to do all this on the badBOX in your home directory.  Invoke the script with:&lt;BR /&gt;env -i ./script&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;export _=/usr/bin/env&lt;BR /&gt;export LANG=en_US.iso88591&lt;BR /&gt;export PATH=/usr/bin:/usr/ccs/bin:/usr/bin/X11:/usr/contrib/bin:/usr/local/bin:&lt;BR /&gt;export LOGNAME=testuser&lt;BR /&gt;export SHELL=/usr/bin/ksh&lt;BR /&gt;export HOME=/home/is/testuser&lt;BR /&gt;export PWD=/home/is/testuser&lt;BR /&gt;export TZ=PST8PDT&lt;BR /&gt;&lt;BR /&gt;echo 'abCd' | /usr/bin/tr '[a-z]' '[A-Z]' | xd -tx1 tc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Other next steps could be putting "abCd" in a file, rather than using echo:&lt;BR /&gt;/usr/bin/tr '[a-z]' '[A-Z]' &amp;lt; file | xd -tx1 tc</description>
    <pubDate>Fri, 20 Aug 2010 23:25:32 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2010-08-20T23:25:32Z</dc:date>
    <item>
      <title>discovered an issue when performing a remote tr (translate) command on hpux 11v3.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252554#M471103</link>
      <description>recently discovered an issue when performing a remote tr (translate) command on hpux 11v3.&lt;BR /&gt;&lt;BR /&gt;test results listed below (same test.file exists on both boxes)...&lt;BR /&gt;&lt;BR /&gt;$ remsh goodBOX -n " head -1 test.file | cut -c60-69 | tr '[a-z]' '[A-Z]'&amp;gt;&lt;BR /&gt;OABMIS02&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ remsh badBOX -n " head -1 test.file | cut -c60-69 | tr '[a-z]' '[A-Z]'"&lt;BR /&gt;��hr02&lt;BR /&gt;&lt;BR /&gt;without the tr:&lt;BR /&gt;$ remsh badBOX -n " head -1 165700047_20100728_095914 | cut -c60-69 "                                &lt;BR /&gt;OABMIS02  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the above command works correctly when performed locally... &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;already checked the tr executable...same on both boxes: &lt;BR /&gt; &lt;BR /&gt;&amp;gt; ll /usr/bin/tr&lt;BR /&gt;-r-xr-xr-x   1 bin        bin          76508 Feb 15  2007 /usr/bin/tr*&lt;BR /&gt; &lt;BR /&gt;&amp;gt; cksum /usr/bin/tr&lt;BR /&gt;3992625266 76508 /usr/bin/tr&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;largest difference between boxes is goodBOX has a 2007 quality pack, and the badBOX is 2008.&lt;BR /&gt;&lt;BR /&gt;input is appreciated...&lt;BR /&gt;manny</description>
      <pubDate>Fri, 20 Aug 2010 15:51:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252554#M471103</guid>
      <dc:creator>Manuel Contreras</dc:creator>
      <dc:date>2010-08-20T15:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: discovered an issue when performing a remote tr (translate) command on hpux 11v3.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252555#M471104</link>
      <description>thought I would provide another example:&lt;BR /&gt;&lt;BR /&gt;$ remsh badBOX "echo abCd | tr '[a-z]' '[A-Z]'"         &lt;BR /&gt;ABbD&lt;BR /&gt;&lt;BR /&gt;$ remsh goodBOX "echo abCd | tr '[a-z]' '[A-Z]'"    &lt;BR /&gt;ABCD&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Aug 2010 16:31:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252555#M471104</guid>
      <dc:creator>Manuel Contreras</dc:creator>
      <dc:date>2010-08-20T16:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: discovered an issue when performing a remote tr (translate) command on hpux 11v3.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252556#M471105</link>
      <description>&amp;gt;the above command works correctly when performed locally.&lt;BR /&gt;&lt;BR /&gt;In the same directory?  Also, try using the absolute path to tr(1).&lt;BR /&gt;&lt;BR /&gt;Since you are using '', it can't be filename completion that is expanding your strings.&lt;BR /&gt;&lt;BR /&gt;It could possibly be your locale settings?</description>
      <pubDate>Fri, 20 Aug 2010 16:55:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252556#M471105</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-08-20T16:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: discovered an issue when performing a remote tr (translate) command on hpux 11v3.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252557#M471106</link>
      <description>I like the latest echo example, as it simplifies the test.&lt;BR /&gt;&lt;BR /&gt;locally works fine:&lt;BR /&gt;&amp;gt;  echo abCd | /usr/bin/tr '[a-z]' '[A-Z]'&lt;BR /&gt;ABCD&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;remotely does not :(&lt;BR /&gt;$ remsh badBOX "echo abCd | /usr/bin/tr '[a-z]' '[A-Z]'"&lt;BR /&gt;ABbD&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;does work on goodBOX:&lt;BR /&gt;$ remsh goodBOX "echo abCd | /usr/bin/tr '[a-z]' '[A-Z]'"    &lt;BR /&gt;ABCD&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;both boxes are 11.31&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Aug 2010 17:04:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252557#M471106</guid>
      <dc:creator>Manuel Contreras</dc:creator>
      <dc:date>2010-08-20T17:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: discovered an issue when performing a remote tr (translate) command on hpux 11v3.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252558#M471107</link>
      <description>What happens if you invoke a remote script like:&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;env&lt;BR /&gt;echo "The tr output ====="&lt;BR /&gt;echo 'abCd' | /usr/bin/tr '[a-z]' '[A-Z]'</description>
      <pubDate>Fri, 20 Aug 2010 17:14:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252558#M471107</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-08-20T17:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: discovered an issue when performing a remote tr (translate) command on hpux 11v3.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252559#M471108</link>
      <description>$  remsh badBOX "/home/is/testuser/test.sh"&lt;BR /&gt;_=/usr/bin/env&lt;BR /&gt;LANG=en_US.iso88591&lt;BR /&gt;PATH=/usr/bin:/usr/ccs/bin:/usr/bin/X11:/usr/contrib/bin:/usr/local/bin:&lt;BR /&gt;LOGNAME=testuser&lt;BR /&gt;SHELL=/usr/bin/ksh&lt;BR /&gt;HOME=/home/is/testuser&lt;BR /&gt;PWD=/home/is/testuser&lt;BR /&gt;TZ=PST8PDT&lt;BR /&gt;The tr output =====&lt;BR /&gt;ABbD&lt;BR /&gt;$</description>
      <pubDate>Fri, 20 Aug 2010 17:25:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252559#M471108</guid>
      <dc:creator>Manuel Contreras</dc:creator>
      <dc:date>2010-08-20T17:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: discovered an issue when performing a remote tr (translate) command on hpux 11v3.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252560#M471109</link>
      <description>Several possible causes:&lt;BR /&gt;&lt;BR /&gt;1.) tr makes a wrong conversion on plain US-ASCII character "C", which would be pretty weird indeed.&lt;BR /&gt;&lt;BR /&gt;2.) tr works OK, but something in the data transmission chain converts the uppercase C to lowercase b (or to something else that ultimately ends up displayed as lowercase b). Strange but possible, if your terminal/emulator includes key macro features.&lt;BR /&gt;&lt;BR /&gt;3.) something else, more information needed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To test (and possibly exclude) hypothesis 2) and to get more information, we need a way to express the characters without directly inputting them. The "printf" command and the ASCII code table (see "man 5 ascii") are helpful here.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Connection sanity check in remote -&amp;gt; local direction:&lt;BR /&gt;&lt;BR /&gt;remsh badBOX 'printf "\\141\\142\\103\\144\\n"'&lt;BR /&gt;&lt;BR /&gt;(output should be "abCd"; if it's something else, the output of badBOX is being modified on the way from the badBOX to the local display.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Connection sanity check in local -&amp;gt; remote direction: &lt;BR /&gt;remsh badBOX "echo abCd | od -b"&lt;BR /&gt;&lt;BR /&gt;(output should include "141 142 103 144 012" which is abCd + line termination character expressed in octal ASCII codes; if the codes are different, your input is being modified on the way from local to badBOX.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Explicit remote tr sanity check:&lt;BR /&gt;&lt;BR /&gt;remsh badBOX 'printf "\\141\\142\\103\\144\\n" | /usr/bin/tr "[a-z]" "[A-Z]" | od -b'&lt;BR /&gt;&lt;BR /&gt;(output should include "101 102 103 104 012" which is ABCD + line termination character expressed in octal ASCII codes)&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 20 Aug 2010 20:16:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252560#M471109</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-08-20T20:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: discovered an issue when performing a remote tr (translate) command on hpux 11v3.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252561#M471110</link>
      <description>To test (and possibly exclude) hypothesis 2) and to get more information, we need a way to express the characters without directly inputting them. The "printf" command and the ASCII code table (see "man 5 ascii") are helpful here.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Connection sanity check in remote -&amp;gt; local direction:&lt;BR /&gt;&lt;BR /&gt;remsh badBOX 'printf "\\141\\142\\103\\144\\n"'&lt;BR /&gt;&lt;BR /&gt;(output should be "abCd"; if it's something else, the output of badBOX is being modified on the way from the badBOX to the local display.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$  remsh badBOX 'printf "\\141\\142\\103\\144\\n"'&lt;BR /&gt;abCd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Connection sanity check in local -&amp;gt; remote direction:&lt;BR /&gt;remsh badBOX "echo abCd | od -b"&lt;BR /&gt;&lt;BR /&gt;(output should include "141 142 103 144 012" which is abCd + line termination character expressed in octal ASCII codes; if the codes are different, your input is being modified on the way from local to badBOX.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ remsh badBOX  "echo abCd | od -b"&lt;BR /&gt;0000000 141 142 103 144 012&lt;BR /&gt;0000005&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Explicit remote tr sanity check:&lt;BR /&gt;&lt;BR /&gt;remsh badBOX 'printf "\\141\\142\\103\\144\\n" | /usr/bin/tr "[a-z]" "[A-Z]" | od -b'&lt;BR /&gt;&lt;BR /&gt;(output should include "101 102 103 104 012" which is ABCD + line termination character expressed in octal ASCII codes)&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;$ remsh badBOX 'printf "\\141\\142\\103\\144\\n" | /usr/bin/tr "[a-z]" "[A-Z]" | od -b'&lt;BR /&gt;0000000 101 102 142 104 012&lt;BR /&gt;0000005&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ remsh goodBOX 'printf "\\141\\142\\103\\144\\n" | /usr/bin/tr "[a-z]" "[A-Z]" | od -b'    &lt;BR /&gt;0000000 101 102 103 104 012&lt;BR /&gt;0000005&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Matti, thanks for your Extended analysis.</description>
      <pubDate>Fri, 20 Aug 2010 20:37:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252561#M471110</guid>
      <dc:creator>Manuel Contreras</dc:creator>
      <dc:date>2010-08-20T20:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: discovered an issue when performing a remote tr (translate) command on hpux 11v3.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252562#M471111</link>
      <description>&amp;gt;MK: Connection sanity check in local -&amp;gt; remote direction:&lt;BR /&gt;&amp;gt;remsh badBOX "echo abCd | od -b"&lt;BR /&gt;&lt;BR /&gt;A better output is hex, not octal: echo abCd | xd -tx1 -tc"&lt;BR /&gt;&lt;BR /&gt;What architecture/model are the two boxes?&lt;BR /&gt;&lt;BR /&gt;Perhaps the next check is to do all this on the badBOX in your home directory.  Invoke the script with:&lt;BR /&gt;env -i ./script&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;export _=/usr/bin/env&lt;BR /&gt;export LANG=en_US.iso88591&lt;BR /&gt;export PATH=/usr/bin:/usr/ccs/bin:/usr/bin/X11:/usr/contrib/bin:/usr/local/bin:&lt;BR /&gt;export LOGNAME=testuser&lt;BR /&gt;export SHELL=/usr/bin/ksh&lt;BR /&gt;export HOME=/home/is/testuser&lt;BR /&gt;export PWD=/home/is/testuser&lt;BR /&gt;export TZ=PST8PDT&lt;BR /&gt;&lt;BR /&gt;echo 'abCd' | /usr/bin/tr '[a-z]' '[A-Z]' | xd -tx1 tc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Other next steps could be putting "abCd" in a file, rather than using echo:&lt;BR /&gt;/usr/bin/tr '[a-z]' '[A-Z]' &amp;lt; file | xd -tx1 tc</description>
      <pubDate>Fri, 20 Aug 2010 23:25:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252562#M471111</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-08-20T23:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: discovered an issue when performing a remote tr (translate) command on hpux 11v3.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252563#M471112</link>
      <description>Manuel,&lt;BR /&gt;&lt;BR /&gt;What happens if you try with ssh , instead of remsh :&lt;BR /&gt;&lt;BR /&gt;$ ssh -q badBOX "echo abCd | tr '[a-z]' '[A-Z]'"&lt;BR /&gt;&lt;BR /&gt;do you get ABCD , the correct output.&lt;BR /&gt;- may be some flaws over remsh services.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hth,&lt;BR /&gt;Raj.&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Aug 2010 23:42:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252563#M471112</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2010-08-20T23:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: discovered an issue when performing a remote tr (translate) command on hpux 11v3.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252564#M471113</link>
      <description>The connection sanity checks were OK, so it probably isn't a remsh problem.&lt;BR /&gt;&lt;BR /&gt;$ remsh badBOX 'printf "\\141\\142\\103\\144\\n" | /usr/bin/tr "[a-z]" "[A-Z]" | od -b'&lt;BR /&gt;0000000 101 102 142 104 012&lt;BR /&gt;0000005&lt;BR /&gt;&lt;BR /&gt;OK, so it definitely looks like a problem with tr. But on second thought, it might be a locale problem too.&lt;BR /&gt;&lt;BR /&gt;One more test:&lt;BR /&gt;&lt;BR /&gt;remsh badBOX 'echo abCd | LC_ALL=C tr "[a-z]" "[A-Z]"'&lt;BR /&gt;&lt;BR /&gt;Setting LC_ALL=C makes all locale-specific processing fall back to POSIX standrd US-ASCII. If this makes the problem go away, then perhaps the locale files for your default locale en_US.iso88591 (located in /usr/lib/nls/loc/) are broken on badBOX.&lt;BR /&gt;&lt;BR /&gt;Perhaps someone with root access has experimented with the "localedef" command and made a little mistake?&lt;BR /&gt;&lt;BR /&gt;You might also copy /usr/bin/tr from goodBOX to /tmp/tr on the badBOX, then run the tests using /tmp/tr instead of /usr/bin/tr. If this fixes the problem, then it conclusively proves that badBOX's /usr/bin/tr is broken.&lt;BR /&gt;&lt;BR /&gt;------&lt;BR /&gt;&lt;BR /&gt;Dennis&amp;gt; A better output is hex, not octal: echo abCd | xd -tx1 -tc"&lt;BR /&gt;&lt;BR /&gt;Maybe, assuming that you are already familiar with hex values of ASCII characters. I would have used it if printf(1) could accept hex escapes. &lt;BR /&gt;&lt;BR /&gt;But as it can't, octal is unavoidable. And as I'm already potentially confusing people, having input in octal and output in hex would make it even harder to figure out what's going on if the reader is not already familiar with all the tools and concepts I used.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Sat, 21 Aug 2010 08:33:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252564#M471113</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-08-21T08:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: discovered an issue when performing a remote tr (translate) command on hpux 11v3.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252565#M471114</link>
      <description>&amp;gt;MK: it might be a locale problem too.&lt;BR /&gt;&lt;BR /&gt;That's why I had the ENVs printed.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;You might also copy /usr/bin/tr from goodBOX to /tmp/tr on the badBOX&lt;BR /&gt;&lt;BR /&gt;Manny said the cksum matched.  But libc and the locale libs could be different.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;assuming that you are already familiar with hex values of ASCII characters.&lt;BR /&gt;&lt;BR /&gt;That's why there is ascii(5) with octal and hex.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;octal is unavoidable.&lt;BR /&gt;&lt;BR /&gt;You could put the chars in a file and do a hex dump on them to prove they're correct.</description>
      <pubDate>Sun, 22 Aug 2010 05:42:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252565#M471114</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-08-22T05:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: discovered an issue when performing a remote tr (translate) command on hpux 11v3.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252566#M471115</link>
      <description>your not going to believe the root cause:&lt;BR /&gt;&lt;BR /&gt;# remsh badBOX -l testuser "echo abCd | tr '[a-z]' '[A-Z]'" &lt;BR /&gt;ABbD&lt;BR /&gt;&lt;BR /&gt;# remsh badBOX -l testuser "unset LANG;echo abCd | tr '[a-z]' '[A-Z]'"&lt;BR /&gt;ABCD&lt;BR /&gt;# &lt;BR /&gt;&lt;BR /&gt;thank you all...your input is always appreciated :)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Aug 2010 16:25:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252566#M471115</guid>
      <dc:creator>Manuel Contreras</dc:creator>
      <dc:date>2010-08-25T16:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: discovered an issue when performing a remote tr (translate) command on hpux 11v3.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252567#M471116</link>
      <description>the LANG setting was the root cause for my remote tr issues.&lt;BR /&gt;&lt;BR /&gt;# remsh badBOX -l testuser "echo abCd | tr '[a-z]' '[A-Z]'" &lt;BR /&gt;ABbD&lt;BR /&gt;&lt;BR /&gt;# remsh badBOX -l testuser "unset LANG;echo abCd | tr '[a-z]' '[A-Z]'"&lt;BR /&gt;ABCD&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;the following setting does not exist on the goodBOX:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; cat /etc/rc.config.d/LANG  &lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;# @(#)B.11.31_LR        &lt;BR /&gt;# Language preference.  See lang(5), hpnls(5)&lt;BR /&gt;#&lt;BR /&gt;# LANG:         Locale name&lt;BR /&gt;#&lt;BR /&gt;# Note: if using the default C locale, many commands will execute faster if&lt;BR /&gt;#       LANG is not set.&lt;BR /&gt;#&lt;BR /&gt;#LANG=C&lt;BR /&gt;#export LANG&lt;BR /&gt;LANG=en_US.iso88591&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 25 Aug 2010 16:27:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252567#M471116</guid>
      <dc:creator>Manuel Contreras</dc:creator>
      <dc:date>2010-08-25T16:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: discovered an issue when performing a remote tr (translate) command on hpux 11v3.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252568#M471117</link>
      <description>&amp;gt;the LANG setting was the root cause for my remote tr issues.&lt;BR /&gt;echo abCd | tr '[a-z]' '[A-Z]'&lt;BR /&gt;&lt;BR /&gt;Ah.  If you want to do this, you have to be in the American Nerd locale, not this goofy dictionary sort locale.&lt;BR /&gt;&lt;BR /&gt;Basically what you asked for was:&lt;BR /&gt;a &lt;AE&gt; B b .. Z z converted to:&lt;BR /&gt;A AE a ... Z&lt;BR /&gt;&lt;BR /&gt;See /usr/lib/nls/loc/src/en_US.iso1.src LC_COLLATE category.&lt;BR /&gt;&lt;BR /&gt;From the man page, you probably want:&lt;BR /&gt;tr '[:lower:]' '[:upper:]'&lt;/AE&gt;</description>
      <pubDate>Thu, 26 Aug 2010 07:16:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/discovered-an-issue-when-performing-a-remote-tr-translate/m-p/5252568#M471117</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-08-26T07:16:35Z</dc:date>
    </item>
  </channel>
</rss>

