<?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: sort - lowercase all in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sort-lowercase-all/m-p/3681521#M793553</link>
    <description>Hi :&lt;BR /&gt;&lt;BR /&gt;First, if you really only want the conversion of case for sorting upper and lower case values to be the same, use the '-f' switch of sort.  This "folds" letters, converting all lowercase to uppercase prior to conversion.  The actual data is not changed.  I would think that this is really what you want.&lt;BR /&gt;&lt;BR /&gt;If you truly want to convert the file to lowercase letters you could do:&lt;BR /&gt;&lt;BR /&gt;# sort file |tr -s [[:upper:]] [[:lower:]]&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Wed, 30 Nov 2005 07:45:14 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2005-11-30T07:45:14Z</dc:date>
    <item>
      <title>sort - lowercase all</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sort-lowercase-all/m-p/3681520#M793552</link>
      <description>I want to do a sort on a couple of files. How do I specify it to ignore the case, or change all of them to lower case?</description>
      <pubDate>Wed, 30 Nov 2005 07:36:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sort-lowercase-all/m-p/3681520#M793552</guid>
      <dc:creator>Ravinder Singh Gill</dc:creator>
      <dc:date>2005-11-30T07:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: sort - lowercase all</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sort-lowercase-all/m-p/3681521#M793553</link>
      <description>Hi :&lt;BR /&gt;&lt;BR /&gt;First, if you really only want the conversion of case for sorting upper and lower case values to be the same, use the '-f' switch of sort.  This "folds" letters, converting all lowercase to uppercase prior to conversion.  The actual data is not changed.  I would think that this is really what you want.&lt;BR /&gt;&lt;BR /&gt;If you truly want to convert the file to lowercase letters you could do:&lt;BR /&gt;&lt;BR /&gt;# sort file |tr -s [[:upper:]] [[:lower:]]&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 30 Nov 2005 07:45:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sort-lowercase-all/m-p/3681521#M793553</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-11-30T07:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: sort - lowercase all</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sort-lowercase-all/m-p/3681522#M793554</link>
      <description># sort -f ....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-f: fold (ignore case in sort order)&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Wed, 30 Nov 2005 07:47:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sort-lowercase-all/m-p/3681522#M793554</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2005-11-30T07:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: sort - lowercase all</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sort-lowercase-all/m-p/3681523#M793555</link>
      <description>The one-liner below will lowercase the files before sorting them i.e. if I understand your question.&lt;BR /&gt;&lt;BR /&gt;# awk '{print tolower($0)}' file1 file2 | sort</description>
      <pubDate>Wed, 30 Nov 2005 16:01:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sort-lowercase-all/m-p/3681523#M793555</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2005-11-30T16:01:15Z</dc:date>
    </item>
  </channel>
</rss>

