I have a file that looks like
SPT-CL J0000-5748 J000106.23-574536.8 0.275980 -57.760231 0.7554 0.0003 template 1
SPT-CL J0000-5748 J000049.27-574637.3 0.205320 -57.777050 0.7018 0.0002 template 1
SPT-CL J0000-5748 J000059.24-574759.6 0.246850 -57.799889 0.7059 0.0002 template 1
SPT-CL J0000-5748 J000107.36-574648.7 0.280680 -57.780209 0.6981 0.0002 template 1
for a few thousand lines. I need all of the SPT-CL J0000-5748
turned into SPT-CLJ0000-5748
. How can I do this very quickly via bash
?