From: ludo@gnu.org (Ludovic Courtès)
To: guile-user@gnu.org
Subject: Re: file magic
Date: Tue, 01 Nov 2011 23:50:19 +0100 [thread overview]
Message-ID: <87aa8fe9uc.fsf@gnu.org> (raw)
In-Reply-To: 20111101141353.XMMDB.2313.root@cdptpa-web14-z01
Hi Dale!
<dsmich@roadrunner.com> 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’.
next prev parent reply other threads:[~2011-11-01 22:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-01 14:13 file magic dsmich
2011-11-01 22:50 ` Ludovic Courtès [this message]
2011-11-02 16:47 ` dsmich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87aa8fe9uc.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).