[File] tsv file starting with .ar detected as troff

Christos Zoulas christos at zoulas.com
Sun Jun 29 23:38:13 UTC 2025


Yes, because it matches:
0       regex/20l       \^\\.[A-Za-z][A-Za-z0-9][\ \t]  troff or preprocessor i
nput text
!:strength +12

Now does file -k find that it is a tsv file? and then what does file -l say about the relative strength of the two magic entries?

christos

> On Jun 29, 2025, at 1:38 AM, Avid Seeker <avidseeker at disroot.org> wrote:
> 
> Example file:
> 
> ```
> .ar	/home/ar
> ```
> -- 
> File mailing list
> File at astron.com
> https://mailman.astron.com/mailman/listinfo/file

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20250629/10685c25/attachment.asc>


More information about the File mailing list