How to remove the spaces in 22th and 23th position of the specific string in a file?
Example below and expected outcome.
XXXSA3FFESS3052599004 L +
Expected result will be:
XXXS3DFFESS3052599004L +
My code seemd inaccurate as below. Please advise.
sed 's/[A-Z0-9] //g' $file
Truly appreciate your help. I‘m not sure exactly the code. But my basic understanding is that sed could be able to do this.