It is sometimes useful to check the BOOST_ARCHIVE_VERSION of a binary Boost serialization::archive (e.g., .tsa file).
Inspired by this MR by @PALoizeau, the provided file adds support to the popular file command.
It does not need to be compiled, and thus does not depend on the installed FairSoft version. To avoid the need for installation, it could also be wrapped in a 1-line shell script that calls file with the -m magicfile option.
It is sometimes useful to check the BOOST_ARCHIVE_VERSION of a binary Boost serialization::archive (e.g., .tsa file).
Inspired by this MR by @PALoizeau, the provided file adds support to the popular
file
command.It does not need to be compiled, and thus does not depend on the installed FairSoft version. To avoid the need for installation, it could also be wrapped in a 1-line shell script that calls
file
with the-m magicfile
option.