I want to use the shell to split this file:
ID: xxx Name: xxx HW = In-class = Comments: ID: yyy Name: yyyy HW = In-class = Comments: ID: zzz Name: Zzzz HW = In-class = Comments: So each paragraph is saved to a file named FILE01 which is in a folder that is the ID of the paragraph.
For example paragraph:
ID: zzz Name: Zzzz HW = In-class = Comments: Should be saved to the file ./zzz/FILE01.
How can I do this?