i have one column with data smith
john
michale
the o/p should be smith,john,michale how we do in unix
Answer Posted / david
file1 contain the data like ....
john smith michael
so
cat file1 |tr ' ' ','
or
cat file1 |sed 's/ /,/g'
this will really help you dear ....
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
List the distributions of unix.
Explain file system in unix.
What is unix orphan process?
What is meant by the term super user?
How can you edit a large file without opening it in unix?
How to give execute permission for a file in unix?
How to make a new directory in unix?
What is the significance of the superuser?
What is directory unix?
What are the features of unix?
Is unix a kernel or os?
How do you delete a file in unix?
What is the architecture of unix operating system?
How to stop an infinite loop in unix?
How do we change file access permissions?