Let us consider a sample file, say file1, with a comma as delimiter as shown below:
$ cat file1 Rakesh,Father,35,Manager Niti,Mother,30,Group Lead Shlok,Son,5,StudentThe first column indicates name, second relationship, the third being the age, and the last one is their profession.