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
Explain what is inode?
What is regular file in unix?
Is unix os free?
How old is unix?
How many types of files are there in unix?
How to know the information about a file?
What is inode in unix operating system?
List some of the frequent shells used in unix along with their indicators?
What is meant by unix operating system?
What are the criteria for choosing a process for swapping into memory from the swap device?
Why kernel is known as the heart of unix os?
What does the swapping system do if it identifies the illegal page for swapping?
What is a unix file?
What does shebang mean in unix?
What is the difference between unix and windows operating system?