<?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: puting the counted files using wc -l in variable in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/puting-the-counted-files-using-wc-l-in-variable/m-p/4904634#M702102</link>
    <description>VARIABLE=`ls -la *.xml | grep "$datenow" | wc -l`&lt;BR /&gt;&lt;BR /&gt;That should do the trick for you.</description>
    <pubDate>Mon, 30 May 2005 22:39:03 GMT</pubDate>
    <dc:creator>Paul Eadington_1</dc:creator>
    <dc:date>2005-05-30T22:39:03Z</dc:date>
    <item>
      <title>puting the counted files using wc -l in variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/puting-the-counted-files-using-wc-l-in-variable/m-p/4904633#M702101</link>
      <description>Dear Gurus,&lt;BR /&gt;&lt;BR /&gt;I have used the command line below to count the current files created this day :&lt;BR /&gt;&lt;BR /&gt;ls -la *.xml | grep "$datenow" | wc -l&lt;BR /&gt;&lt;BR /&gt;I have used "$datenow" variable for the current date but i have no idea how to put the counted files in a variable.&lt;BR /&gt;&lt;BR /&gt;Any help is highly appreciated.&lt;BR /&gt;</description>
      <pubDate>Mon, 30 May 2005 22:22:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/puting-the-counted-files-using-wc-l-in-variable/m-p/4904633#M702101</guid>
      <dc:creator>Pando</dc:creator>
      <dc:date>2005-05-30T22:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: puting the counted files using wc -l in variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/puting-the-counted-files-using-wc-l-in-variable/m-p/4904634#M702102</link>
      <description>VARIABLE=`ls -la *.xml | grep "$datenow" | wc -l`&lt;BR /&gt;&lt;BR /&gt;That should do the trick for you.</description>
      <pubDate>Mon, 30 May 2005 22:39:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/puting-the-counted-files-using-wc-l-in-variable/m-p/4904634#M702102</guid>
      <dc:creator>Paul Eadington_1</dc:creator>
      <dc:date>2005-05-30T22:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: puting the counted files using wc -l in variable</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/puting-the-counted-files-using-wc-l-in-variable/m-p/4904635#M702103</link>
      <description>i have found the solution by puting it using the symbol "&amp;gt;" (writing standard output to file).&lt;BR /&gt;</description>
      <pubDate>Mon, 30 May 2005 22:56:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/puting-the-counted-files-using-wc-l-in-variable/m-p/4904635#M702103</guid>
      <dc:creator>Pando</dc:creator>
      <dc:date>2005-05-30T22:56:11Z</dc:date>
    </item>
  </channel>
</rss>

