<?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: awk '{ print $9 until the end of the line...}' in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618812#M925535</link>
    <description>ll | awk '{ for (i=$9; i &amp;lt;= NF; i++) print $i }'&lt;BR /&gt;&lt;BR /&gt;You are getting lazy with your awk :-)&lt;BR /&gt;&lt;BR /&gt;dave</description>
    <pubDate>Thu, 22 Nov 2001 12:48:47 GMT</pubDate>
    <dc:creator>David Lodge</dc:creator>
    <dc:date>2001-11-22T12:48:47Z</dc:date>
    <item>
      <title>awk '{ print $9 until the end of the line...}'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618810#M925533</link>
      <description>if you do an &lt;BR /&gt;ll /&lt;BR /&gt;for example and want to awk for the filename,&lt;BR /&gt;if that file name is a link there'll be a -&amp;gt; link in the filename&lt;BR /&gt;at least the one I want to extract..&lt;BR /&gt;&lt;BR /&gt;how do I specify, from $9 to the end of the line using awk..&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Bill&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Nov 2001 12:38:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618810#M925533</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-11-22T12:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: awk '{ print $9 until the end of the line...}'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618811#M925534</link>
      <description>Loop until you get to NF.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 22 Nov 2001 12:45:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618811#M925534</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-11-22T12:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: awk '{ print $9 until the end of the line...}'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618812#M925535</link>
      <description>ll | awk '{ for (i=$9; i &amp;lt;= NF; i++) print $i }'&lt;BR /&gt;&lt;BR /&gt;You are getting lazy with your awk :-)&lt;BR /&gt;&lt;BR /&gt;dave</description>
      <pubDate>Thu, 22 Nov 2001 12:48:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618812#M925535</guid>
      <dc:creator>David Lodge</dc:creator>
      <dc:date>2001-11-22T12:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: awk '{ print $9 until the end of the line...}'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618813#M925536</link>
      <description>Hi Bill:&lt;BR /&gt;&lt;BR /&gt;# ... awk '{print substr($9,index($0,$9))}'&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 22 Nov 2001 12:49:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618813#M925536</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-11-22T12:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: awk '{ print $9 until the end of the line...}'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618814#M925537</link>
      <description>Hi Bill,&lt;BR /&gt;&lt;BR /&gt;ll | awk '{a="";for (i=9;i&amp;lt;=NF;i++){a=a" "$i}print a}'&lt;BR /&gt;&lt;BR /&gt;or less elegantly:&lt;BR /&gt;&lt;BR /&gt;ll | awk '{for (i=1;i&amp;lt;=8;i++){$i=""};print}'&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin.</description>
      <pubDate>Thu, 22 Nov 2001 12:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618814#M925537</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2001-11-22T12:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: awk '{ print $9 until the end of the line...}'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618815#M925538</link>
      <description>for (i = 9; i &amp;lt; NF; ++i) print $i&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Nov 2001 12:49:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618815#M925538</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2001-11-22T12:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: awk '{ print $9 until the end of the line...}'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618816#M925539</link>
      <description>If you'r not very particular about using awk, how about&lt;BR /&gt;#ll &lt;DIR&gt; | tr -s " " | cut -d' ' -f9-&lt;BR /&gt;&lt;/DIR&gt;</description>
      <pubDate>Thu, 22 Nov 2001 12:56:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618816#M925539</guid>
      <dc:creator>Deepak Extross</dc:creator>
      <dc:date>2001-11-22T12:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: awk '{ print $9 until the end of the line...}'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618817#M925540</link>
      <description>Hi Bill,&lt;BR /&gt;&lt;BR /&gt;One more thing, to ignore the 1st line, start the awk with:&lt;BR /&gt;&lt;BR /&gt;awk 'NR&amp;gt;1{...&lt;BR /&gt;&lt;BR /&gt;The index version will not work exactly if the filename is, say, rw (which mine often are!), since it will pick up the "rw" in the permissions.&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin.</description>
      <pubDate>Thu, 22 Nov 2001 13:00:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618817#M925540</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2001-11-22T13:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: awk '{ print $9 until the end of the line...}'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618818#M925541</link>
      <description>I'll give points tomorrow, I keep getting 404's &lt;BR /&gt;&lt;BR /&gt;Have a great day!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Bill</description>
      <pubDate>Thu, 22 Nov 2001 15:09:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618818#M925541</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-11-22T15:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: awk '{ print $9 until the end of the line...}'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618819#M925542</link>
      <description>You may want to skip the first line in the output of ll:&lt;BR /&gt;ll | tr -s " " | cut -d" " -f9- | tail +2</description>
      <pubDate>Fri, 23 Nov 2001 10:25:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618819#M925542</guid>
      <dc:creator>Deepak Extross</dc:creator>
      <dc:date>2001-11-23T10:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: awk '{ print $9 until the end of the line...}'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618820#M925543</link>
      <description>Bill, &lt;BR /&gt;Did you report your 404s to Dan's thread on forum Issues?&lt;BR /&gt;I believe he uses the info to generate some mothly reports or such.</description>
      <pubDate>Sat, 24 Nov 2001 03:24:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618820#M925543</guid>
      <dc:creator>Deepak Extross</dc:creator>
      <dc:date>2001-11-24T03:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: awk '{ print $9 until the end of the line...}'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618821#M925544</link>
      <description>Hi Robin (and Bill):&lt;BR /&gt;&lt;BR /&gt;Great, ironic (?) catch, Robin.  I flat missed the match that would occur.  What's more, I even bungled the brain to fingers connection, meaning to have written:&lt;BR /&gt;&lt;BR /&gt;...awk '{print substr($0,index($0,$9))}'&lt;BR /&gt;&lt;BR /&gt;In any event, the "shortcut" I suggested clearly has deficiencies.  Thanks for catching it!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sat, 24 Nov 2001 20:07:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618821#M925544</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-11-24T20:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: awk '{ print $9 until the end of the line...}'</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618822#M925545</link>
      <description>yea, I reported the 404's.&lt;BR /&gt;&lt;BR /&gt;Thanks all.&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Mon, 26 Nov 2001 17:14:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/awk-print-9-until-the-end-of-the-line/m-p/2618822#M925545</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2001-11-26T17:14:29Z</dc:date>
    </item>
  </channel>
</rss>

