Mercurial > repo
view wisdom/block device @ 11329:dd6d2180c5b6
<wob_jonas> perl -e open$h,"<",($f="wisdom/font");local$/;$_=<$h>; s"& \\S+/twitter\\.com/\\S+""; if (1) { open $o,">",$f;print$o $_; } print substr $_,200;
author | HackBot |
---|---|
date | Wed, 17 Jan 2018 21:02:27 +0000 |
parents | 272663b31668 |
children |
line wrap: on
line source
Block devices are a concession made in Unix to make raw hard disks and magnetic tape have a similar interface to regular files and terminals. Since magnetic tapes can't write individual bytes, only entire blocks, the interface isn't exactly the same, thus the dreaded dd obs= option was born.