Re: bit banging bash

Lawrence D'Oliveiro <[email protected]> Mon, 22 Jan 2024 06:45:00 -0000 (UTC)
Newsgroups alt.comp.lang.shell.unix.bourne-bash
Organization A noiseless patient Spider
Message-ID <[email protected]>
On Mon, 28 Aug 2023 19:47:40 -0700 (PDT), Rick Hohensee wrote:

> hexbytes () {
> od -An -w1 -v -t x1  tmp > tmp2 }
> 
> 
> 
> 
> 
> dexhead () { #  < tmp2 let i=0 while read do
> 	b[$i]=$REPLY let i+=1
> done

Tempfiles are a very ... DOS way of doing things.

Try coproc.