Can your text editor do THIS?
Most of them can
Search & Replace -> "_ with ",_ (space instead of underscore, substituted for visibility)
>>59190455
Pretty sure about every text editor with regex replacement (=about every text editor) can do this.
Then again, I'd rather row select + pressing "," four times and then pretty print everything.
>>59190498
That wouldn't work. It would put a comma after the name as well as health.
>>59190455
what text editor is that?
>>59190543
Vim on an 486.
>>59190498
you're a retard
you'd have to use regex to do it properly
>>59190455
Regex Find: "([0-9\-]+)"_
Replace: "\1",_
(spaces instead of underscores)
>>59190864
nah, you have to take into account that the last literal doesn't get a comma, for example by looking at the following "
Yes
t. textadept
>>59190677
not in this case, no
>>59191065
All of them get commas though.
>>591904551,$s/" /", /
/thread
>>59193509
He only added the comma after the strings in the first 3 columns you dumb fucking nigger indian pajeet
>>59193676
well then use a regex lookahead to fix it you nig
>>59190455
Why wouldn't I have the commas there already when I first wrote each line?
>>59190455
You mean a regex query replace?
>>59195335
see the thread
>>59191065
You dumb stupid nigger turbo pajeets cannot for the life of you spot a pattern.
>last literal doesn't get a comma
The last literal is also the only one that does not have a number directly before the closing double quote. Go back to fucking kindergarten
>>59190455
that is a very slow terminal
Even fucking notepad++ has this.
My editor can set all the commas at once, without going through all these lines. (I just have to click where it has to go before)
Stupid thread is stupid.
>>59195369
>using a graphical WM
GET OUUUUT
yes because it's fucking vim
the winning team
Yes, it's very easy on emacs to record a macro
ctrl+x (
do your thing
ctrl+x )
ctrl+x e
OR
ctrl+u # of times ctrl+x e