that's awesome, it works ! it was so simple with cat taking over and consuming the data until the end ! (I added a redirect to /dev/null to cat) big thank you. Le mer. 18 déc. 2019 à 16:19, mar77i via arch-general < arch-general@xxxxxxxxxxxxx> a écrit : > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > On Wednesday, December 18, 2019 3:20 PM, Pascal via arch-general < > arch-general@xxxxxxxxxxxxx> wrote: > > > hello, > > > > it works perfectly because both tools used, md5sum and sha1sum, consume > all > > the data. > > > > on the other hand, the function returns wrong fingerprints if I insert a > > tool like file : > > > ...just do >(file --mime-type -b -e compress -e tar -e elf - >&3; cat) ? > > > Sent with ProtonMail Secure Email. >