From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.devel Subject: Re: MIME type guessing module Date: Fri, 02 Jan 2015 16:33:50 +0100 Message-ID: <87387tw61t.fsf@zigzag.favinet> References: <87oaqjlqt5.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> Reply-To: guile-devel@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1420212609 5626 80.91.229.3 (2 Jan 2015 15:30:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Jan 2015 15:30:09 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Jan 02 16:30:03 2015 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y74Ar-0005pT-EZ for guile-devel@m.gmane.org; Fri, 02 Jan 2015 16:30:01 +0100 Original-Received: from localhost ([::1]:51673 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y74Aq-0006Mb-8O for guile-devel@m.gmane.org; Fri, 02 Jan 2015 10:30:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y74Am-0006MP-6w for guile-devel@gnu.org; Fri, 02 Jan 2015 10:29:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y74Af-0007Hk-DJ for guile-devel@gnu.org; Fri, 02 Jan 2015 10:29:56 -0500 Original-Received: from smtp205.alice.it ([82.57.200.101]:54682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y74Af-0007H5-3B for guile-devel@gnu.org; Fri, 02 Jan 2015 10:29:49 -0500 Original-Received: from zigzag.favinet (95.232.70.205) by smtp205.alice.it (8.6.060.28) id 547D8A4D074C1DA3 for guile-devel@gnu.org; Fri, 2 Jan 2015 16:29:45 +0100 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1Y74Eh-0003P7-Do for guile-devel@gnu.org; Fri, 02 Jan 2015 16:33:59 +0100 Mail-Followup-To: guile-devel@gnu.org In-Reply-To: <87oaqjlqt5.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> (David Thompson's message of "Wed, 31 Dec 2014 11:36:22 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.101 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:17631 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable () David Thompson () Wed, 31 Dec 2014 11:36:22 -0500 Thoughts? Would this be useful at all? Well, if you use it, then it's useful, yes? :-D There's always room for more implementations. Check out libextractor: http://www.gnu.org/software/libextractor/ See also "ttn-do magic", which is a pure-Scheme solution: http://www.gnuvola.org/software/ttn-do/ttn-do.html.gz#magic The database is also "Schemey" -- sexps produced from parsing ~/.magic or other magic(5) databases. =2D-=20 Thien-Thi Nguyen GPG key: 4C807502 (if you're human and you know it) read my lisp: (responsep (questions 'technical) (not (via 'mailing-list))) =3D> nil --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlSmumEACgkQZwMiJEyAdQJiDACg0yw9+W5XZgM1qm9qFF2prqZ3 W1wAoKU/4dE9FDcxR+BoEaBBQINf65wT =2qPw -----END PGP SIGNATURE----- --=-=-=--