I need some help to extract and to separate strings of information from a CSV file, and subsequently printing it multiple new files.
I have huge files with a ton of information I need separated. The code needs to group all the info from say Alabama into a new file, and the information from Oklahoma in a separate file. Is this possible in a single step with Bash (.sh)?
1 Sample; Region; Name; Result;
2 "99"; "Alabama", "Joe"; "Ill"
3 "100"; "Alabama", "Mary", "Ill"
4 "101", "Oklahoma", "Joseph", "Ill"
In this case, it would write 2 output files, one containing all the lines for Alabama and the other for Oklahoma. Would it be further possible to send these files to be encrypted with 7zip?