This reads an initial xxx_error.txt, removes commas, and writes back over xxx_error.txt.
Reason:
The original lines are of form
L:key1:word1 or L:key1:word1,word2,...
In the second, multiple-word case, It is easier to process and comment when there is only
one word. So the program simply rewrites L:key1:word1,word2 as
two or more lines:
L:key1:word1
L:key1:word2
ETC
The revised xxx_error.txt file is then pushed back up to the repository.
@drdhaval2785
The remove_commas.py is found useful.
Usage:
This reads an initial xxx_error.txt, removes commas, and writes back over xxx_error.txt.
Reason: The original lines are of form
L:key1:word1
orL:key1:word1,word2,...
In the second, multiple-word case, It is easier to process and comment when there is only one word. So the program simply rewrites
L:key1:word1,word2
as two or more lines:The revised xxx_error.txt file is then pushed back up to the repository.