Cancelled

used sed to add commas

I have the following data contained in a txt file

I would like the data in this format.

Highlanders - British & Irish, Asian Handicap (4.5),2.10,Highlanders

So far the best I've come up with is:

cat [url removed, login to view] | egrep -A1 "\:" | sed 's/^[0-2]\.../,&,/g'| sed -e 's/:[0-9][0-9]/&,/g' |sed -e 's/Bookmaker/,/g' | sed -e 's/--//g' | xargs -n2 -d'\n'| sed '/^$/d'| sed 's/:/ /g' |sed 's/[0-9][0-9]\%//g' | sed '/^$/d' | xargs -n2 -d'\n'

But I need it exactly liuke my example.

Skills: Linux

See more: kk imgoing to run seo urls in the way server allows and add sitemaps for that sitemaps are ready so when seo url run alk is need, select text add commas, excel add commas, excel add commas numbers, add commas text excel, convert numbers text add commas, excel add commas text, add commas text website, add commas list numbers, add commas data, add commas data excel, add commas text excell, add commas excel, add commas excel data, add commas numbers, add commas numbers excel

About the Employer:
( 180 reviews ) Melbourne, Australia

Project ID: #14376275

13 freelancers are bidding on average $77 for this job

A2Design

Hi, this looks like something we could help you with. Our team is Russian-Canadian. We specialise in: PHP & PHP frameworks, WordPress & Woocommerce, Opencart, Magento, API development, HTML5, CSS, JavaScript, Bootstra More

$350 USD in 3 days
(1 Review)
5.6
grtdeveloper

Add commas in between text using sed Relevant Skills and Experience shell script, python scripting Proposed Milestones $30 USD - complete code and demo

$30 USD in 1 day
(8 Reviews)
4.2
manindermarok

As per understanding from your brief description, I think I can easily make your wish done with my skills level contact me once and I guarantee it that you will get the perfect solution for your need. Relevant Skills More

$333 USD in 1 day
(12 Reviews)
3.6
rakoty

i have very good experience in linux and shell scripting as well besides i have very good experience in many other programming languages like c, c++ , python , java and more Relevant Skills and Experience i have very More

$30 USD in 1 day
(9 Reviews)
3.4
$55 USD in 1 day
(1 Review)
0.4
niranjann08

Hello, Kindly contact me with the further details. Pay only if your task is completed. Relevant Skills and Experience I have 6+ years of experience in software programming with experience in Java,Linux,PHP,MySQL,Oracl More

$25 USD in 1 day
(0 Reviews)
0.0
mrcriu

A proposal has not yet been provided

$25 USD in 1 day
(0 Reviews)
0.0
$25 USD in 1 day
(0 Reviews)
0.0
nguoccanhcay

I can instantly solve your problem! Relevant Skills and Experience 5 years experience in Linux system! Proposed Milestones $25 USD - Complete your shell command! Additional Services Offered $50 USD - If you want a p More

$25 USD in 1 day
(0 Reviews)
0.0
pacce

If is easy if use awk and sed command. If you want got it please contact me Relevant Skills and Experience I have worked in linux 5 years Proposed Milestones $15 USD - Full

$15 USD in 1 day
(0 Reviews)
0.0
JohnMMartinelli

I created the software that does what you need! Check out my video walking you through the solution. It required a LITTLE bit of Python and bash scripting: [url removed, login to view] Relevant Sk More

$50 USD in 1 day
(0 Reviews)
0.0
mohammedazfar

im happy to take this, let me also know can i get this in python Relevant Skills and Experience Good Learner and Analytical Proposed Milestones $16 USD - Learn the requirement ,Share the bluechart for delivery and Fi More

$16 USD in 1 day
(0 Reviews)
0.0
ostrova7lands

Done. 3 first lines of output: Australia - Brazil,Next Corner,1.70,Brazil Highlanders - British & Irish,Asian Handicap (4.5),2.10,Highlanders Deportivo Riestr - Acassuso,Over Under (1.5),2.62,Under Relevant Skills and More

$20 USD in 1 day
(0 Reviews)
0.0