How do y'all deal with storing binary data in memory using bash/zsh?  

 

#bash #zsh #askfedi

@katnjiapus
echo "dear user, please remember this: $data "
std output

and then

read "dear user, please write down what i said earlier" $data
@katnjiapus hm, if I had to I'd probably encode it as base64 and store that in a variable or file (depending on the amount/size of the data)
@katnjiapus pipe it to a file - much easier