.tr Documento Troff
Testo e codice sorgente
| Tipo MIME | text/troff |
|---|---|
| Descrizione | Documento Troff |
| Categoria | Testo e codice sorgente |
| Firma (magic bytes) | 27 2E 5C 22 ('.\")27 5C 22 ('\")2E 5C 22 (.\") |
| Basato su | text/plain |
| Altre estensioni | .roff, .t |
Domande frequenti
Che cos’è un file .tr?
Un file .tr è un formato di tipo «Documento Troff» (tipo MIME text/troff).
Come apro un file .tr?
Con qualsiasi editor di testo: Notepad++, Visual Studio Code, oppure gedit e vim su Linux. Il file contiene testo leggibile, eventualmente codice sorgente o configurazione.
Come si riconosce un vero file .tr?
Dai byte all’inizio del file, la firma (magic bytes): 27 2E 5C 22 ('.\"), 27 5C 22 ('\") e 2E 5C 22 (.\"). Su Linux e macOS, file --mime-type example.tr verifica il tipo reale indipendentemente dall’estensione.
Su quale formato si basa .tr?
Tecnicamente un file .tr è un sottotipo di «Documento in testo semplice» (text/plain), quindi i programmi per quel formato di base spesso riescono a leggerlo.
Quale tipo MIME corrisponde a .tr?
Il tipo MIME è text/troff. Nel server web Apache: AddType text/troff .tr; in nginx: types { text/troff tr; }.