adspace


i have one column with data smith
john
michale
the o/p should be smith,john,michale how we do in unix

Answer Posted / madhusudhanan.s

Inside a file save 3 names column wise
then type the below command

tr "\n" "," < <filename>

Is This Answer Correct ?    22 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you edit a large file without opening it in unix?

988