title: Split single column of csv horizontally in bash into multiple smaller csv files in BASH
body: <p>I am using bash and I have a single <strong>column</strong> <strong>(not row)</strong> in csv with no headers- samplefile.csv</p>
  
  <pre><code>111 
  222 
  333 
  444 
  555 
  666 
  777 
  888
  </code></pre>
  
  <p>I am looking to split this into (say)2 csv files of <strong>4 rows and a single column</strong> each in this case (if odd number say 9 rows then 5 and 4) csv files with data </p>
  
  <p>output1.csv (1 column 4 rows)</p>
  
  <pre><code>111
  222
  333
  444
  </code></pre>
  
  <p>and output2.csv (1 column and 4 rows)</p>
  
  <pre><code>555
  666
  777
  888
  </code></pre>
  
  <p>Csplit does not create csv files as shown here
  <a href="https://stackoverflow.com/questions/12995050/split-a-file-into-x-files-where-file-names-are-numbered#new-answer">split a file into x files where file names are numbered</a> </p>
  
  <p>Any suggestions?</p>