Thank you for response. But I have problem. I am using Solaris.
e10>awk '{ORS=/,$/?"":"\n"}1' bulk2
awk: syntax error near line 1
awk: illegal statement near line 1
awk: syntax error near line 1
awk: bailing out near line 1
e10>
e10>
e10>sed -r ':b;/,$/{N;bb;};s/\n//g' bulk2
sed: illegal option -- r
e10>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.