On Thu, Jun 21, 2018 at 9:48 AM, Otto Moerbeek <o...@drijf.net> wrote: >> On Thu, Jun 21, 2018 at 12:11:52AM +0200, Maximilian Pichler wrote: >> > I'm just wondering what these other utilities might be. >> >> hexdump -v -n 1234567 -e '"%c"'
Speed-wise this is roughly on par with 'dd bs=1'. >> If the input doesn't contain backslashes (or something else, tr(1)) >> >> vis -aoF6 | head -n 1234567 | unvis Backslashes exist. :) > Variation that buffers the writes: > > dd ibs=1 count=n Nice, this is about three time as fast as bs=1. Both are much slower than 'ghead -c'.