Package: libmagic-mgc Version: 1:5.30-1+deb9u1 Severity: normal Dear Maintainer,
I'm using "file" on a set of files to determine which are plain text files. Recently a part of the text files did not get detected: $ file foo.txt foo.txt: Message Sequence Chart (chart) When looking at the files, all of them started with "msc", e.g. "mschneider" or "mschmidt" magic/Magdir/communications contains: # MSC (message sequence charts) are a formal description technique, # described in ITU-T Z.120, mainly used for communication protocols. # Added by W. Borgert <[email protected]>. 0 string mscdocument Message Sequence Chart (document) 0 string msc Message Sequence Chart (chart) 0 string submsc Message Sequence Chart (subchart) If I understand ITU-T Z.120 correctly, the MSC chart files always start with "msc<space><sometext>", and at least for my use case it would be enough to change the magic to "msc " (with a space as the fourth character), but if you want to check more, you could search for the ";" at the end of statements. Thank you for your work on Debian! Regards, Thomas -- System Information: Debian Release: 9.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Locale: LANG=en_US.utf-8, LC_CTYPE=en_US.utf-8 (charmap=UTF-8), LANGUAGE=en_US.utf-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) -- no debconf information -- Thomas Arendsen Hein <[email protected]> - OpenPGP key: 0x5BB3F5195816791A https://blogs.intevation.de/thomas/ - https://intevation.de/~thomas/ Intevation GmbH, Neuer Graben 17, 49074 Osnabrueck - AG Osnabrueck, HR B 18998 Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner

