<?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: Need Help with command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-command/m-p/5111626#M446111</link>
    <description>&amp;gt;I had the same command line and the option that you suggested does not work.&lt;BR /&gt;&lt;BR /&gt;Sorry, I was copying your line and just suggesting you not use printf.  I didn't notice you had () vs {}.&lt;BR /&gt;So here would be my suggestion combining the JRF and my filename solutions:&lt;BR /&gt;ll /dev/*/group | awk '{print $6,$10}' | sort&lt;BR /&gt;</description>
    <pubDate>Mon, 02 Jun 2008 21:51:03 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2008-06-02T21:51:03Z</dc:date>
    <item>
      <title>Need Help with command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-command/m-p/5111619#M446104</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Trying to sort the files under "/dev" and running the following command and it's not working.  What am I doing incorrect.&lt;BR /&gt;&lt;BR /&gt;ll /dev/*/group | awk '(printf $6 "\n")' | sort -n&lt;BR /&gt;&lt;BR /&gt;I am doing this to find out what is the next number I can use for mknod command.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;MP</description>
      <pubDate>Sat, 31 May 2008 20:36:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-command/m-p/5111619#M446104</guid>
      <dc:creator>Mike_305</dc:creator>
      <dc:date>2008-05-31T20:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-command/m-p/5111620#M446105</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;# ls -l /dev/*/group | awk '{printf "%s\n", $6}' | sort -n&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sat, 31 May 2008 20:56:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-command/m-p/5111620#M446105</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-05-31T20:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-command/m-p/5111621#M446106</link>
      <description>ll /dev/*/group | sort -k6,6&lt;BR /&gt;&lt;BR /&gt;The -k option of sort is very powerful. Character or numeric sorting covers the hex nature of the minor number&lt;BR /&gt;&lt;BR /&gt;If you want to be more specific &lt;BR /&gt;&lt;BR /&gt;ll /dev/*/group | sort -k6.3,6.4</description>
      <pubDate>Sat, 31 May 2008 21:17:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-command/m-p/5111621#M446106</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-05-31T21:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-command/m-p/5111622#M446107</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Thanks for the quick reply.  Both of you guys are de "MAN".&lt;BR /&gt;&lt;BR /&gt;It is always help having the right syntax in the command.&lt;BR /&gt;&lt;BR /&gt;This one gives me what I was looking for and it's easy to determine which next "HEX" number I can use for my MKNOD.&lt;BR /&gt;&lt;BR /&gt;Appreciate your help.&lt;BR /&gt;&lt;BR /&gt;THX - MP&lt;BR /&gt;</description>
      <pubDate>Sat, 31 May 2008 21:56:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-command/m-p/5111622#M446107</guid>
      <dc:creator>Mike_305</dc:creator>
      <dc:date>2008-05-31T21:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-command/m-p/5111623#M446108</link>
      <description>&amp;gt;ll /dev/*/group | awk '(printf $6 "\n")' | sort -n&lt;BR /&gt;&lt;BR /&gt;Instead of using awk's printf, you could just use: print $6&lt;BR /&gt;You could also print the filename.</description>
      <pubDate>Sun, 01 Jun 2008 00:01:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-command/m-p/5111623#M446108</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-06-01T00:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-command/m-p/5111624#M446109</link>
      <description>Hello Dennis,&lt;BR /&gt;&lt;BR /&gt;I had the same command line and the option that you suggested does not work.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;MP</description>
      <pubDate>Mon, 02 Jun 2008 13:47:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-command/m-p/5111624#M446109</guid>
      <dc:creator>Mike_305</dc:creator>
      <dc:date>2008-06-02T13:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-command/m-p/5111625#M446110</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;thanks for your help.  The only command works is James and TTr's.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;MP</description>
      <pubDate>Mon, 02 Jun 2008 13:49:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-command/m-p/5111625#M446110</guid>
      <dc:creator>Mike_305</dc:creator>
      <dc:date>2008-06-02T13:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help with command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-command/m-p/5111626#M446111</link>
      <description>&amp;gt;I had the same command line and the option that you suggested does not work.&lt;BR /&gt;&lt;BR /&gt;Sorry, I was copying your line and just suggesting you not use printf.  I didn't notice you had () vs {}.&lt;BR /&gt;So here would be my suggestion combining the JRF and my filename solutions:&lt;BR /&gt;ll /dev/*/group | awk '{print $6,$10}' | sort&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Jun 2008 21:51:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/need-help-with-command/m-p/5111626#M446111</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-06-02T21:51:03Z</dc:date>
    </item>
  </channel>
</rss>

