sed: fix: remove \n at the end

This commit is contained in:
Camille Chauvet 2023-07-31 17:46:09 +02:00
parent 7a10311d56
commit a7e4a9cd75

View File

@ -63,5 +63,5 @@ int main(int ac, char **av)
std::cerr << "sed: file error" << std::endl;
return (1);
}
file << replaced << std::endl;
file << replaced;
}