This PR makes some updates to the line-buffered support added in PR #333. That PR added some general support in BufferedByLine and BufferedOutoutRange and added a --line-buffered option to tsv-filter.
This PR extends this by adding support to ByLineSourceRange. This was needed to add support to tsv-select.
Some changes were made to the flushing logic in BufferedOutputRange. This causes a flush to the output stream (eg. stdout) more often, but improves operation in unix pipelines (both header line flushing and line-buffered support). It also improves error messages. It was a small performance hit to csv2tsv, but the overall effect is worthwhile.
This PR makes some updates to the line-buffered support added in PR #333. That PR added some general support in
BufferedByLine
andBufferedOutoutRange
and added a--line-buffered
option totsv-filter
.This PR extends this by adding support to
ByLineSourceRange
. This was needed to add support totsv-select
.Some changes were made to the flushing logic in
BufferedOutputRange
. This causes a flush to the output stream (eg. stdout) more often, but improves operation in unix pipelines (both header line flushing and line-buffered support). It also improves error messages. It was a small performance hit tocsv2tsv
, but the overall effect is worthwhile.