how to removes spaces in file using sorT?
Posted: Sat Apr 13, 2024 8:34 pm
Hi Everyone,
Does anyone know how to removes spaces in file using sort.
I have a file which record length is 2000. I need to trim all the areas which has spaces in the file. For example, if I have data like 'XXXXX 111 YYY' then output should be 'XXXXX111YYY'.
The only thing is we don't know at which position we might have spaces
Does anyone know how to removes spaces in file using sort.
I have a file which record length is 2000. I need to trim all the areas which has spaces in the file. For example, if I have data like 'XXXXX 111 YYY' then output should be 'XXXXX111YYY'.
The only thing is we don't know at which position we might have spaces