Quote:
Originally Posted by javeed7
Hi devtakh,
Thanks for your quick reply.
But, the number of columns may differ from file to file.
I mean to say that the number of columns are not constant.
Could anyone please suggest any other way!!!
Thanks
|
awk -F "," 'OFS=","{first=$1;gsub(/ /,"",$0);$1=first;print $0}'
cheers,
Devaraj Takhellambam