<?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: tr bug or feature? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tr-bug-or-feature/m-p/3284693#M882476</link>
    <description>Umm, that is exactly what the "-s" option is supposed to do!!!&lt;BR /&gt; &lt;BR /&gt;I quite from the man page&lt;BR /&gt; &lt;BR /&gt;"Replaces any character specified in string1 that occurs as a string of two or more repeating characters as a single instance of the character in string2"</description>
    <pubDate>Mon, 24 May 2004 08:21:51 GMT</pubDate>
    <dc:creator>Mark Grant</dc:creator>
    <dc:date>2004-05-24T08:21:51Z</dc:date>
    <item>
      <title>tr bug or feature?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tr-bug-or-feature/m-p/3284691#M882474</link>
      <description>Hello,&lt;BR /&gt;I need to convert text to lower case, and i was using tr like, tr -s [:upper:] [:lower:] &amp;lt; Orig_file &amp;gt; new_file.&lt;BR /&gt;It converts all upper case to lower but if some letter is repeating, then tr leave only one.&lt;BR /&gt;Thanks for response.&lt;BR /&gt;Franta.&lt;BR /&gt;</description>
      <pubDate>Mon, 24 May 2004 08:11:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tr-bug-or-feature/m-p/3284691#M882474</guid>
      <dc:creator>Frantisek Merka_1</dc:creator>
      <dc:date>2004-05-24T08:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: tr bug or feature?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tr-bug-or-feature/m-p/3284692#M882475</link>
      <description>It's a feature, as long as you use -s. just use&lt;BR /&gt;tr "[:upper:]" "[:lower:]" &amp;lt; in &amp;gt; out&lt;BR /&gt;&lt;BR /&gt;man tr&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Mon, 24 May 2004 08:21:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tr-bug-or-feature/m-p/3284692#M882475</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-05-24T08:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: tr bug or feature?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tr-bug-or-feature/m-p/3284693#M882476</link>
      <description>Umm, that is exactly what the "-s" option is supposed to do!!!&lt;BR /&gt; &lt;BR /&gt;I quite from the man page&lt;BR /&gt; &lt;BR /&gt;"Replaces any character specified in string1 that occurs as a string of two or more repeating characters as a single instance of the character in string2"</description>
      <pubDate>Mon, 24 May 2004 08:21:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tr-bug-or-feature/m-p/3284693#M882476</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-05-24T08:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: tr bug or feature?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tr-bug-or-feature/m-p/3284694#M882477</link>
      <description>Or, you could try this,&lt;BR /&gt; &lt;BR /&gt;perl -i -pne 'tr/a-z/A-Z/' &lt;FILE&gt;&lt;BR /&gt; &lt;BR /&gt;Careful though as this edits the file in place.&lt;/FILE&gt;</description>
      <pubDate>Mon, 24 May 2004 08:36:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tr-bug-or-feature/m-p/3284694#M882477</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-05-24T08:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: tr bug or feature?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tr-bug-or-feature/m-p/3284695#M882478</link>
      <description>Thanks, possibly I need eye-glasses :-)).&lt;BR /&gt;It works fine.&lt;BR /&gt;Franta.&lt;BR /&gt;</description>
      <pubDate>Mon, 24 May 2004 09:11:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tr-bug-or-feature/m-p/3284695#M882478</guid>
      <dc:creator>Frantisek Merka_1</dc:creator>
      <dc:date>2004-05-24T09:11:54Z</dc:date>
    </item>
  </channel>
</rss>

