Split and add header on the command line

Posted by tomasz on Stack Overflow See other posts from Stack Overflow or by tomasz
Published on 2010-05-04T01:43:00Z Indexed on 2010/05/04 1:48 UTC
Read the original article Hit count: 219

Filed under:
|

What's the easiest way to split a file and add a header to each section?

The unix split command does everything that I need minus being able to add a header.

Any easy way to do it with existing tools before I script it up?

© Stack Overflow or respective owner

Related posts about split

Related posts about header