Score:0

magic file capable of detecting file types

gq flag

how to make a magic file called ft_magic that will be formatted appropriately to detect files of 42 file type, built with a "42" string at the 42nd byte.

i tried to make a ft_magic file using file -C -m ft_magic then file -m ft_magic

then i get this :

Usage: file [-bcCdEhikLlNnprsSvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e ] [-F ] [-f ] [-m ] [-P <parameter=value>] ... file -C [-m ] file [--help]

Raffa avatar
jp flag
This means `ft_magic ` is either empty or not following the right format ... you need to populate it before compiling and using it ... Please see https://manpages.ubuntu.com/manpages/bionic/man5/magic.5.html for the format.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.