3 ms·
... one of my favorite prop bets is to bet that sort X | gzip -9 > sorted.gz will make a smaller file than gzip -9 X > not-sorted.gz for any text file,
by PaulHoule 3y ago
... one of my favorite prop bets is to bet that
sort X | gzip -9 > sorted.gz
will make a smaller file than
gzip -9 X > not-sorted.gz
for any text file, particularly something like a CSV. Much like lowercasing, it works almost every time.