Manipulating CSV files from the *nix shell

I had to heavily restructure some csv spreadsheets recently each containing the same data from different experiment participants, and I didn’t want to do it manually for each one. GNU bash and sed did a lot of the work, but I didn’t have the patience to go into …