Commit 63097e6c2f92a7e0a92c1c1da0e5ced93d47b5e6
1 parent
9a2e1ecd
Exists in
master
and in
1 other branch
Corrige bug do extratorTXT
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
extrator/src/extratorTXT.cpp
@@ -50,7 +50,7 @@ void ExtratorTXT::encodingfiletoUTF8() { | @@ -50,7 +50,7 @@ void ExtratorTXT::encodingfiletoUTF8() { | ||
50 | .append(this->filePath); | 50 | .append(this->filePath); |
51 | system(recmd.c_str()); | 51 | system(recmd.c_str()); |
52 | 52 | ||
53 | - string sedcmd = "sed -i 's/\r$//;$d' "; | 53 | + string sedcmd = "sed -i 's/\\r//' "; |
54 | sedcmd.append(this->filePath); | 54 | sedcmd.append(this->filePath); |
55 | system(sedcmd.c_str()); | 55 | system(sedcmd.c_str()); |
56 | } | 56 | } |