Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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

839


Where unix is used today?

908


Which file system is used in unix?

953


How to know the information about a file?

939


Explain file system in unix.

933


What is unix and why is it important?

918


Explain superblock in unix.

845


Is android unix like?

935


Explain pid.

931


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!

13331


Explain Sticky bit?

954


What are the features and benefits of unix?

892


Is unix an operating system?

853


How to calculate the number of words in a file?

942


What is difference between unix and windows operating system?

977