121 reputation
3
bio website github.com/…
location Stockholm
age 36
visits member for 2 years
seen Jun 20 at 16:07

Tools Engineer who would love to work daily with go


Dec
26
comment How can you trim files using the command line?
@ChrisDown Because /dev/null contains no data when you read, but /dev/zero contains infinte zeros. Oh, count=1, the number of bytes to write must not be zero.
Dec
25
comment How can you trim files using the command line?
You should read from /dev/zero: if=/dev/zero