I have a file with this strings
select chrom,chromStart,chromEnd,name from snp147 where name="rs12414460 ";
select chrom,chromStart,chromEnd,name from snp147 where name="rs12456 ";
select chrom,chromStart,chromEnd,name from snp147 where name="rs12434212334 ";
I want to delete the spaces in the name
field.
How can I obtain this:
select chrom,chromStart,chromEnd,name from snp147 where name="rs12414460";
select chrom,chromStart,chromEnd,name from snp147 where name="rs12456";
select chrom,chromStart,chromEnd,name from snp147 where name="rs1243421111111";
Please Help me
I tried: cut test.txt | cut -d ' ' -f1,2,3,4,5,6
but it doesn't work