Correcting text to get the correct substring

I have a text file that is composed with alignment (all tabs are aligned - different sizes).
Therefore, I cannot get the desired value in a specific column (substring).
Since this is a transfer, I cannot change the file format.

How can I β€œdelete” text into spaces while preserving the length of the interval, are there any scripts there?

enter image description hereenter image description here

I need a top value. replacing \ t with a fixed value does not help.

* EDIT: files seem to be formatted using fmt

* EDIT 2: the solution turned out to be this; when i use fmt for windows ( coreutils ) it stays the same.
However, on my mac, I get the desired result (maybe something in the win command is not configured correctly).

fmt original_file >> new.txt 

GRC

0
c # alignment formatting text justify
source share
1 answer

There probably are many other ways to do this, but sublime text has built-in tab-to-space conversion.

http://css-tricks.com/changing-spaces-tabs-sublime-text/

0
source share

All Articles