Maximilian Pichler writes:
> dd bs=1 count=1234567 will copy 1234567 bytes and then stop, but it's slow. > > I can't seem to think of a faster command that also works in the > presence of short reads and blocking. There is ghead -c from coreutils > in ports, but this should be possible in base, no? > > Max it's slow because it flushes the output every byte, what would you expect? Maybe you should do in a different manner.