Skip to content

Commit

Permalink
Revert "[fix] Add newline after --count or --count-lines result"
Browse files Browse the repository at this point in the history
This reverts commit 4da8d5a.
  • Loading branch information
mxmlnkn committed Apr 26, 2024
1 parent d6524c1 commit 1d61205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/rapidgzip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 1d61205

Please sign in to comment.