cup-magnitude accepts stdin (uses ARGF)