<?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: char count script in StoreEver Tape Storage</title>
    <link>https://community.hpe.com/t5/storeever-tape-storage/char-count-script/m-p/3257083#M11531</link>
    <description>#/bin/sh&lt;BR /&gt;# tested on HP-UX 10.20&lt;BR /&gt;swlist -l file | awk -F/ '&lt;BR /&gt;{&lt;BR /&gt;  if (NF &amp;gt; 1) wkstr=$NF&lt;BR /&gt;  wklen=index(wkstr,"\t")-1&lt;BR /&gt;  wkstr=substr(wkstr,1,wklen)&lt;BR /&gt;  if (wklen &amp;gt; 30) printf("%4d %s\n",wklen,wkstr)&lt;BR /&gt;}&lt;BR /&gt;'</description>
    <pubDate>Tue, 27 Apr 2004 22:07:31 GMT</pubDate>
    <dc:creator>Masatake Hanayama</dc:creator>
    <dc:date>2004-04-27T22:07:31Z</dc:date>
    <item>
      <title>char count script</title>
      <link>https://community.hpe.com/t5/storeever-tape-storage/char-count-script/m-p/3257082#M11530</link>
      <description>Do you have a script that will count the number of characters per line of the output of "swlist -l file"?&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;Perl5.PERL-MAN: /opt/perl/man/man3/B::Concise.3&lt;BR /&gt;Perl5.PERL-MAN: /opt/perl/man/man3/B::Debug.3&lt;BR /&gt;Perl5.PERL-MAN: /opt/perl/man/man3/B::Deparse.3&lt;BR /&gt;Perl5.PERL-MAN: /opt/perl/man/man3/B::Disassembler.3&lt;BR /&gt;&lt;BR /&gt;The script goes through each line above, disregard the start of each line up to the last "/" character, then count the rest of the characters of each line.  If the character count on that line is greater than 30, print the filename and the actual character count.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Jimmy</description>
      <pubDate>Thu, 22 Apr 2004 16:44:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/storeever-tape-storage/char-count-script/m-p/3257082#M11530</guid>
      <dc:creator>Jimmy Roux_1</dc:creator>
      <dc:date>2004-04-22T16:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: char count script</title>
      <link>https://community.hpe.com/t5/storeever-tape-storage/char-count-script/m-p/3257083#M11531</link>
      <description>#/bin/sh&lt;BR /&gt;# tested on HP-UX 10.20&lt;BR /&gt;swlist -l file | awk -F/ '&lt;BR /&gt;{&lt;BR /&gt;  if (NF &amp;gt; 1) wkstr=$NF&lt;BR /&gt;  wklen=index(wkstr,"\t")-1&lt;BR /&gt;  wkstr=substr(wkstr,1,wklen)&lt;BR /&gt;  if (wklen &amp;gt; 30) printf("%4d %s\n",wklen,wkstr)&lt;BR /&gt;}&lt;BR /&gt;'</description>
      <pubDate>Tue, 27 Apr 2004 22:07:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/storeever-tape-storage/char-count-script/m-p/3257083#M11531</guid>
      <dc:creator>Masatake Hanayama</dc:creator>
      <dc:date>2004-04-27T22:07:31Z</dc:date>
    </item>
  </channel>
</rss>

