On Mar 31, 2016, at 11:35 AM, Rainer Müller wrote: > Using magic bytes would even result in wrong results in some cases. For > example for scapy, the distfile is intentionally a polyglot. It is both > a valid shell script and a zip file: > > $ file -b /opt/local/var/macports/distfiles/scapy/scapy-2.3.1.zip > POSIX shell script executable (binary data)
Interesting, I did not know that kind of thing existed / was possible. _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-dev