reduce disk usage by not writing out the last block unless it has data
reduce disk usage by not writing out the last block unless it has data: unit test
better example
bash example; rpm update; readme update