Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
How to concatenate these two text files with CR/LF in between?
I need to concatenate these two files (join together) using a comma, and put the result in a new file.
Here is the output:
ccusers (file1) - lli,build,mteno,clesingh,ccadmin,cmethot,jazhu,bsc hwerd,vnesher,sshkrebe,dtait,doolley,mxu,bdickins, jamyoung,gdjambov,elaakso,tpapic,cyerrado,rnakka,m sundara
I want the result be like this:
lli,build,mteno,clesingh,ccadmin,cmethot,jazhu,bsc hwerd,vnesher,sshkrebe,dtait,doolley,mxu,bdickins, jamyoung,gdjambov,elaakso,tpapic,cyerrado,rnakka,m sundara, ygoldrin,ccadmin,ggilhula,dbrodski,dchan,kfava,sde souza,cmcewen,aokun
If I use something like ("cat file1 file2 > file3") the result will be:
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe