Mat Mendelโs answer is good if you didnโt end up on Windows using cygwin, in which case some annoying line endings come into play. This applies to unix command-line utilities, in which case we paste and cut using \ n as the end-of-line character instead of the \ r \ n that Windows requires.
I couldnโt easily figure out how to change the end of the line character for these utils or cygwin in general, so I was happy to be able to use sed in the end.
paste -d ',' file1 file2 file3 | sed 's/\r//g' | cut -d ',' -f 1,2,3,5,6,8 | sed 's/$/\r/'
source share