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
Suppose I have one column with data smithjohnmichale the o/p should be smith,john, michale how we do in unix?
Where unix is used today?
Which file system is used in unix?
How to know the information about a file?
Explain file system in unix.
What is unix and why is it important?
Explain superblock in unix.
Is android unix like?
Explain pid.
i m putting 2.6yrs fake exp in oracle/unix production support i want to know some real time issues,like tell me the challenging issue u ever faced? my project is credit card application plz help me!
Explain Sticky bit?
What are the features and benefits of unix?
Is unix an operating system?
How to calculate the number of words in a file?
What is difference between unix and windows operating system?