Thomson Reuters Interview Question

Write a shell script to read from a comma separated line and save it to another file