<?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 command not splitting a file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371091#M347359</link>
    <description>split(1) is documented as supporting large files in 10.20:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5965-4406/ch04s09.html#interfaces-commands" target="_blank"&gt;http://docs.hp.com/en/5965-4406/ch04s09.html#interfaces-commands&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;OldSchool: you might try "cat"ing the results back together&lt;BR /&gt;&lt;BR /&gt;Yes, that will prove split works.</description>
    <pubDate>Wed, 04 Mar 2009 18:28:58 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-03-04T18:28:58Z</dc:date>
    <item>
      <title>split command not splitting a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371083#M347351</link>
      <description>I have on the server OS HPUX 11.11.  I need to split a file of the size &amp;gt;2GB.  When I am issuing the command 'split -l 20000 voda', it is splitting the file into one file only (xaa).  It is not splitting the file into many files of the line size 20000 each.&lt;BR /&gt;Any suggstion?</description>
      <pubDate>Wed, 04 Mar 2009 06:35:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371083#M347351</guid>
      <dc:creator>Deepu Chakravarty</dc:creator>
      <dc:date>2009-03-04T06:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: split command not splitting a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371084#M347352</link>
      <description>Please show us the output of commands:&lt;BR /&gt;&lt;BR /&gt;file voda&lt;BR /&gt;&lt;BR /&gt;wc -l voda&lt;BR /&gt;&lt;BR /&gt;and:&lt;BR /&gt;&lt;BR /&gt;wc -l xaa&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 04 Mar 2009 06:55:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371084#M347352</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-03-04T06:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: split command not splitting a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371085#M347353</link>
      <description>$ file voda.txt&lt;BR /&gt;voda.txt:       ascii text&lt;BR /&gt;$ wc -l voda.txt&lt;BR /&gt;196 voda.txt&lt;BR /&gt;(it seemms to be wrong, this file has many many lines.  See the file size below)&lt;BR /&gt;-rw-rw-rw-   1 root       sys        2517645178 Mar  3 16:52 voda.txt&lt;BR /&gt;&lt;BR /&gt;# wc -l xaa&lt;BR /&gt;156 xaa&lt;BR /&gt;( I have terminated the file as it is continuing)</description>
      <pubDate>Wed, 04 Mar 2009 07:41:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371085#M347353</guid>
      <dc:creator>Deepu Chakravarty</dc:creator>
      <dc:date>2009-03-04T07:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: split command not splitting a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371086#M347354</link>
      <description>The system seems to think the file has only 196 *very very long* lines. The wc command calculates this by counting the line terminator characters, which is so simple operation it's unlikely to go wrong.&lt;BR /&gt;&lt;BR /&gt;Please remember that tools like "vi" or "more" will wrap long lines into multiple shorter lines *on screen only*.&lt;BR /&gt;&lt;BR /&gt;Alternatively, the file might have non-standard line terminator characters. If so, no Unix tool will recognize the lines correctly until the file is run through an appropriate converter.&lt;BR /&gt;&lt;BR /&gt;I recommend you use "split -b" and specify the size in bytes, not in lines. This will avoid any problems with line termination characters.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 04 Mar 2009 08:02:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371086#M347354</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-03-04T08:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: split command not splitting a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371087#M347355</link>
      <description>If I use the following command as you suggested: split -b 50000000 voda.txt&lt;BR /&gt;then only one file with data is creating 'xaa', other files xab,etc though have created with size 50000000 bytes but those files are not showing ( with vi) any data inside of the file.  These files are blank. If I onen any file with 'vi', it is showing "xat" Line too long, but no data.</description>
      <pubDate>Wed, 04 Mar 2009 08:54:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371087#M347355</guid>
      <dc:creator>Deepu Chakravarty</dc:creator>
      <dc:date>2009-03-04T08:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: split command not splitting a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371088#M347356</link>
      <description>HI,&lt;BR /&gt;Try this example&lt;BR /&gt;&lt;BR /&gt;In this simple example, assume myfile is 3,000 lines long: &lt;BR /&gt;  split myfile &lt;BR /&gt;This will output three 1000-line files: xaa, xab, and xac.&lt;BR /&gt;&lt;BR /&gt;Working on the same file, this next example is more complex: &lt;BR /&gt;  split -l 500 myfile segment &lt;BR /&gt;This will output six 500-line files: segmentaa, segmentab, segmentac, segmentad, segmentae, and segmentaf.&lt;BR /&gt;&lt;BR /&gt;Finally, assume myfile is a 160KB file: &lt;BR /&gt;  split -b 40k myfile segment &lt;BR /&gt;This will output four 40KB files: segmentaa, segmentab, segmentac, and segmentad.&lt;BR /&gt;&lt;BR /&gt;of visit this site&lt;BR /&gt;&lt;A href="http://www.unix.com/shell-programming-scripting/14576-split-file-using-awk.html" target="_blank"&gt;http://www.unix.com/shell-programming-scripting/14576-split-file-using-awk.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Suraj&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Mar 2009 09:05:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371088#M347356</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2009-03-04T09:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: split command not splitting a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371089#M347357</link>
      <description>Sorry No suggestions are working.  Only first file is showing data with ""xaa" Line too long and other splitted files have no data. Next files "xad" [Not edited] line 1 of 1 --100%--</description>
      <pubDate>Wed, 04 Mar 2009 11:20:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371089#M347357</guid>
      <dc:creator>Deepu Chakravarty</dc:creator>
      <dc:date>2009-03-04T11:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: split command not splitting a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371090#M347358</link>
      <description>the actual "split" command used, its results, and a long listing of the result files, as well as perhaps a "wc" on all of the resulting files.&lt;BR /&gt;&lt;BR /&gt;using vi isn't reliable in the context as 1) it doesn't appear that it really is an ascii file ("file" guesses based on some magic values)&lt;BR /&gt;2) it seems to be composed of a few, very long lines, which vi is going to complain about.&lt;BR /&gt;&lt;BR /&gt;you might try "cat"ing the results back together and then "diff" them w/ the original to if they are indeed correct.</description>
      <pubDate>Wed, 04 Mar 2009 17:31:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371090#M347358</guid>
      <dc:creator>OldSchool</dc:creator>
      <dc:date>2009-03-04T17:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: split command not splitting a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371091#M347359</link>
      <description>split(1) is documented as supporting large files in 10.20:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5965-4406/ch04s09.html#interfaces-commands" target="_blank"&gt;http://docs.hp.com/en/5965-4406/ch04s09.html#interfaces-commands&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;OldSchool: you might try "cat"ing the results back together&lt;BR /&gt;&lt;BR /&gt;Yes, that will prove split works.</description>
      <pubDate>Wed, 04 Mar 2009 18:28:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371091#M347359</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-03-04T18:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: split command not splitting a file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371092#M347360</link>
      <description>I had no problems with a smaller binary file:&lt;BR /&gt;split -b 1m /stand/vmunix vm</description>
      <pubDate>Thu, 05 Mar 2009 00:48:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/split-command-not-splitting-a-file/m-p/4371092#M347360</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-03-05T00:48:54Z</dc:date>
    </item>
  </channel>
</rss>

