Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2002 09:26:39 +0200
From:      Olivier Tharan <olivier.tharan@idealx.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: mpeg/mp3 recognition tool
Message-ID:  <15622.63407.889267.701273@hobbes.oban.frmug.org>
In-Reply-To: <20020611220558.N41178-100000@skaarup.org>
References:  <20020611183538.GA79023@nevermind.kiev.ua> <20020611220558.N41178-100000@skaarup.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Rasmus Skaarup <mfbsd@skaarup.org> [11/6/2002 22:13]:
 > I normally use FreeBSD myself (which is why I am asking you guys), but
 > some customers require Solaris or Tru64 to do the job, which is why I want
 > a tool either in a portable script language (perl for instance) or a piece
 > of portable C-code which compiles on a fair bit of the commercial UNIX
 > platforms (Solaris and Tru64 at least).

The Perl module File::MMagic does the job. See
/usr/ports/devel/p5-File-MMagic.

 > I haven't tried pulling the 'file' utility out of the source
 > tree, but would that code work without modifications on another platform?

file(1) should be available on modern Unices.

(This should belong on -questions, btw)
olive
-- 
		Olivier Tharan <olivier.tharan@idealx.com>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15622.63407.889267.701273>