Search Results

Search: Posts Made By: erniel
2,387
Posted By erniel
Thanks for your help all.... The following worked...
Thanks for your help all.... The following worked for me.

awk -F, 'NR!=1 && $1 !~ /\@/{x=x" "$0;next;}{if(NR!=1){print x;x=$0;}else x=$0;}END{print x}' file
2,387
Posted By erniel
How to combine lines?
Hi,

I have a file like this:

"sdfc@abc.com","arovls","some addr
", "more stuff"
"ssss@email.com","arovls","some addr", "sss"
"edx@email.com","arovls","some addr", "sssdfvv"...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 11:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy