.awk Script AWK
Testo e codice sorgente
| Tipo MIME | application/x-awk |
|---|---|
| Descrizione | Script AWK |
| Categoria | Testo e codice sorgente |
| Firma (magic bytes) | 23 21 20 2F 62 69 6E 2F 61 77 6B (#! /bin/awk)23 21 20 2F 62 69 6E 2F 67 61 77 6B (#! /bin/gawk)23 21 20 2F 75 73 72 2F 62 69 6E 2F 61 77 6B (#! /usr/bin/awk) |
| Basato su | application/x-executable, text/plain |
Domande frequenti
Che cos’è un file .awk?
Un file .awk è un formato di tipo «Script AWK» (tipo MIME application/x-awk).
Come apro un file .awk?
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 .awk?
Dai byte all’inizio del file, la firma (magic bytes): 23 21 20 2F 62 69 6E 2F 61 77 6B (#! /bin/awk), 23 21 20 2F 62 69 6E 2F 67 61 77 6B (#! /bin/gawk) e 23 21 20 2F 75 73 72 2F 62 69 6E 2F 61 77 6B (#! /usr/bin/awk). Su Linux e macOS, file --mime-type example.awk verifica il tipo reale indipendentemente dall’estensione.
Su quale formato si basa .awk?
Tecnicamente un file .awk è un sottotipo di «Eseguibile» (application/x-executable), quindi i programmi per quel formato di base spesso riescono a leggerlo.
Quale tipo MIME corrisponde a .awk?
Il tipo MIME è application/x-awk. Nel server web Apache: AddType application/x-awk .awk; in nginx: types { application/x-awk awk; }.