<?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: split files with formatted output name in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/split-files-with-formatted-output-name/m-p/3385541#M713909</link>
    <description>Hi Andy,&lt;BR /&gt;&lt;BR /&gt;You might try the csplit command &amp;amp; use -f prefix. For example:&lt;BR /&gt;&lt;BR /&gt;-f out&lt;BR /&gt;&lt;BR /&gt;will result in out00 out01 out02 etc.&lt;BR /&gt;&lt;BR /&gt;man csplit for further details.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
    <pubDate>Thu, 23 Sep 2004 14:14:43 GMT</pubDate>
    <dc:creator>Jeff Schussele</dc:creator>
    <dc:date>2004-09-23T14:14:43Z</dc:date>
    <item>
      <title>split files with formatted output name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-files-with-formatted-output-name/m-p/3385538#M713906</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have to split a big file into a number of smaller files. I know that split command will do the trick for me but my requirement is that the output files should be suffixed with 0,1,2,3...(example out1, out2, out3...) and not aa,ab like what split does.&lt;BR /&gt;&lt;BR /&gt;Can anyone please help me.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Andy&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Sep 2004 13:59:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-files-with-formatted-output-name/m-p/3385538#M713906</guid>
      <dc:creator>Anand_30</dc:creator>
      <dc:date>2004-09-23T13:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: split files with formatted output name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-files-with-formatted-output-name/m-p/3385539#M713907</link>
      <description>Here's a one line perl script. It will break up the files into 100 lines each.&lt;BR /&gt; &lt;BR /&gt;cat bigfile | perl -pe 'open(STDOUT,"&amp;gt;out".++$cnt) unless ($.-1) % 100;'&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Thu, 23 Sep 2004 14:08:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-files-with-formatted-output-name/m-p/3385539#M713907</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2004-09-23T14:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: split files with formatted output name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-files-with-formatted-output-name/m-p/3385540#M713908</link>
      <description>Or see if csplit(1) will work for you... it appends numbers instead of letters according to the man page.</description>
      <pubDate>Thu, 23 Sep 2004 14:10:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-files-with-formatted-output-name/m-p/3385540#M713908</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2004-09-23T14:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: split files with formatted output name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-files-with-formatted-output-name/m-p/3385541#M713909</link>
      <description>Hi Andy,&lt;BR /&gt;&lt;BR /&gt;You might try the csplit command &amp;amp; use -f prefix. For example:&lt;BR /&gt;&lt;BR /&gt;-f out&lt;BR /&gt;&lt;BR /&gt;will result in out00 out01 out02 etc.&lt;BR /&gt;&lt;BR /&gt;man csplit for further details.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 23 Sep 2004 14:14:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-files-with-formatted-output-name/m-p/3385541#M713909</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-09-23T14:14:43Z</dc:date>
    </item>
  </channel>
</rss>

