[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file magic
From: |
Ludovic Courtès |
Subject: |
Re: file magic |
Date: |
Tue, 01 Nov 2011 23:50:19 +0100 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) |
Hi Dale!
<address@hidden> skribis:
> The other day I happened to run the file command on some .go files, and they
> show up as the rather unhelpful "data". So I added some bits to my
> /etc/magic file:
>
> 0 string GOOF---- Guile Object
>>8 string LE little endian
>>8 string BE big endian
>>11 byte 0x34 32bit
>>11 byte 0x38 64bit
>>13 regex [0-9.]+ v%s
Neat! What about submitting it upstream? :-)
Ludo’.
- file magic, dsmich, 2011/11/01
- Re: file magic,
Ludovic Courtès <=