From owner-freebsd-ports Wed Jun 12 0:31: 6 2002 Delivered-To: freebsd-ports@freebsd.org Received: from sarajevo.idealx.com (sarajevo.idealx.com [213.41.87.90]) by hub.freebsd.org (Postfix) with ESMTP id 2BD5E37B404 for ; Wed, 12 Jun 2002 00:31:00 -0700 (PDT) Received: from hobbes.UUCP (uucp@localhost) by sarajevo.idealx.com (8.10.1/8.10.1) with UUCP id g5C7U3W00852 for freebsd-ports@freebsd.org; Wed, 12 Jun 2002 09:30:03 +0200 (CEST) Received: by hobbes.oban.frmug.org (Postfix, from userid 1001) id 6C5C054DA; Wed, 12 Jun 2002 09:26:40 +0200 (CEST) From: Olivier Tharan MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15622.63407.889267.701273@hobbes.oban.frmug.org> Date: Wed, 12 Jun 2002 09:26:39 +0200 To: freebsd-ports@freebsd.org Subject: Re: mpeg/mp3 recognition tool In-Reply-To: <20020611220558.N41178-100000@skaarup.org> References: <20020611183538.GA79023@nevermind.kiev.ua> <20020611220558.N41178-100000@skaarup.org> X-Mailer: VM 7.07 under Emacs 21.2.1 X-Attribution: Olive Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org * Rasmus Skaarup [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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message