From 1d61205c7ce0e6c589537137e9d226093f80cea2 Mon Sep 17 00:00:00 2001 From: mxmlnkn Date: Sat, 27 Apr 2024 00:56:16 +0200 Subject: [PATCH] Revert "[fix] Add newline after --count or --count-lines result" This reverts commit 4da8d5a7310413c4540b62f6cf070d775cdf3ca7. --- src/tools/rapidgzip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/rapidgzip.cpp b/src/tools/rapidgzip.cpp index f9adf206..e3c1cb3b 100644 --- a/src/tools/rapidgzip.cpp +++ b/src/tools/rapidgzip.cpp @@ -510,7 +510,7 @@ rapidgzipCLI( int argc, auto& out = writeToStdErr ? std::cerr : std::cout; if ( countBytes != countLines ) { - out << ( countBytes ? totalBytesRead : newlineCount ) << "\n"; + out << ( countBytes ? totalBytesRead : newlineCount ); } else if ( countBytes && countLines ) { out << "Size: " << totalBytesRead << "\n"; out << "Lines: " << newlineCount << "\n";