*BSD News Article 14686


Return to BSD News archive

Newsgroups: comp.os.386bsd.apps
Path: sserve!newshost.anu.edu.au!munnari.oz.au!cs.mu.OZ.AU!summer
From: summer@ee.mu.OZ.AU (Mark Summerfield)
Subject: file(1) friendly TCX
Message-ID: <summer.735280660@mullian.ee.Mu.OZ.AU>
Sender: news@cs.mu.OZ.AU
Organization: Computer Science, University of Melbourne, Australia
Date: Tue, 20 Apr 1993 04:37:40 GMT
Lines: 20

Those of you using tcx to keep compressed executables may wish to add
the following line to /etc/magic:

0	string	#!/usr/local/bin/untcx	TCX compressed executable

(change the path if you've installed tcx elsewhere!)

This way, the file(1) command will print an appropriate message when it
encounters such programs.  You can make the message anything you like, of
course, but the keyword "executable" should be included.

Mark.
          --------------------------------------------------------
              Mark Summerfield,  Photonics Research Laboratory
Department of Electrical and Electronic Engineering, University of Melbourne  
                ACSnet[AARN/Internet]: summer@ee.mu.oz[.au] 
          --------------------------------------------------------
library, n., a place with a large number of people, a slightly larger number
  of books, and a very small number of photocopiers, of which at any given
                   time at least 50% will be out of order.