I have a long file containing different customer data from my business. This file is generated by an "antique" system that works and I don't want to modify.
The problem is that I would like to split this long file into many smaller files based on the different customers.
The file structure is like:
Customer: abc
<data>
Customer: xyz
<data>
and so on..
I was told that vi can recusrively split the file. Maybe even call the files by the customer name.
I gave this a shot and, quickly realized that vi is a little complex.
Can someone give a hand please?
Is vi the right choice?
The problem is that I would like to split this long file into many smaller files based on the different customers.
The file structure is like:
Customer: abc
<data>
Customer: xyz
<data>
and so on..
I was told that vi can recusrively split the file. Maybe even call the files by the customer name.
I gave this a shot and, quickly realized that vi is a little complex.
Can someone give a hand please?
Is vi the right choice?