Hi Friends,
I am trying to write a script to split file with the size as an argument.
Based on the size, i am trying to read for Input File & Dump it to output File.
But, read() returns the number of bytes actually being read (for ex : file split size as 200 bytes), while printing, output file size is greater(213 bytes) than actual read. I could not guess the reason. Please help me with this.
I am trying to write a script to split file with the size as an argument.
Based on the size, i am trying to read for Input File & Dump it to output File.
But, read() returns the number of bytes actually being read (for ex : file split size as 200 bytes), while printing, output file size is greater(213 bytes) than actual read. I could not guess the reason. Please help me with this.
Comment