Hi Akim, sorry for the delay, got distracted!
Am 20.08.2021 um 09:01 schrieb Akim Demaille <[email protected]>: > Wow... So that would be a problem with sed? > > Please use the attached input.y file for the following commands: > > <input.y.gz> > > mkdir dir > LC_ALL=C tests/bison input.y 2>dir/test.log > LC_ALL=C src/bison input.y 2>dir/src.log I guess the next 3 lines should be <dir/src.log instead of <src.log > LC_ALL=C perl -p -e 's{([\0\200\210\360\377])} {sprintf "\\x%02x", > ord($1)}ge' <src.log >dir/src.1.log > LC_ALL=C perl -p -e 's{([\000\200\210\360\377])}{sprintf "\\x%02x", > ord($1)}ge’ <src.log >dir/src.2.log > LC_ALL=C perl -p -e 's{(\0|[\200\210\360\377])} {sprintf "\\x%02x", > ord($1)}ge’ <src.log >dir/src.3.log > sed -e 's/foo/bar/g' <input.y >dir/sed.1.log > LC_ALL=C sed -e 's/foo/bar/g' <input.y >dir/sed.2.log > tar cf - dir | gzip >dir.tgz > > Please send the zipped tarball (to make sure we don't lose the NUL byte > because of the mailers).
dir.tgz
Description: Binary data
Best regards — Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896
