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.
13 freelancers are bidding on average $77 for this job
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