diff --git a/extrator/src/extratorTXT.cpp b/extrator/src/extratorTXT.cpp index 5b520cc..d2ffeb3 100644 --- a/extrator/src/extratorTXT.cpp +++ b/extrator/src/extratorTXT.cpp @@ -50,7 +50,7 @@ void ExtratorTXT::encodingfiletoUTF8() { .append(this->filePath); system(recmd.c_str()); - string sedcmd = "sed -i 's/\r$//;$d' "; + string sedcmd = "sed -i 's/\\r//' "; sedcmd.append(this->filePath); system(sedcmd.c_str()); } -- libgit2 0.21.2