Newsgroups: fj.questions.unix
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!news.iij.ad.jp!kbtmx.eto.kubota.co.jp!kubotaj!kubotaj!hiramoto
From: hiramoto@kubota.co.jp (=?ISO-2022-JP?B?GyRCSj9LXDh3RnMbKEI=?= /HIRAMOTO
 Kouji)
Subject: Re: file (which can specify japanese code)
Organization: Kubota Corporation
Date: Thu, 27 Jul 1995 03:37:11 GMT
Message-ID: <HIRAMOTO.95Jul27123711@xavier.tt.kubota.co.jp>
Followup-To: fj.questions.unix
In-Reply-To: kamei@pi.titech.ac.jp's message of Wed, 26 Jul 1995 09:07:16
 GMT
References: <KAMEI.95Jul26180716@hiroshi.pi.titech.ac.jp>
Sender: news@kubotaj.tt.kubota.co.jp (News System)
Nntp-Posting-Host: xavier
Lines: 82
Xref: galaxy.trc.rwcp.or.jp fj.questions.unix:4816
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.questions.unix&nb=4816&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$BJ?K\!w%/%\%?(B $B$G$9!#(B


In article <KAMEI.95Jul26180716@hiroshi.pi.titech.ac.jp>
kamei@pi.titech.ac.jp (Tatsuya Kamei 03/97) writes:

 ->   SONY $B$N(B NEWS-OS 4.2.1R $B$KIUB0$N(B file $B%3%^%s%I$O!"%F%-%9%H%U%!%$%kCf$K(B
 -> $BF|K\8l$NJ8;zNs$,F~$C$F$$$k>l9g!"%3!<%I$N<oN`(B(JIS, SJIS, EUC)$B$NJL$rH=JL$7(B
 -> $B$F$/$l$k$s$G$9$,!"%U%j!<$KF~<j2DG=$J(B file $B$G!"F1MM$N5!G=$,$D$$$F$$$k$b$N(B
 -> $B$O$"$k$G$7$g$&$+!)(B  $BJL$K(B perl $B$N%9%/%j%W%H$J$s$+$G$b$$$$$G$9!#(B

X68000 $B$GF0:n$9$k%U%j!<$N(B file $B%3%^%s%I$,$"$C$F!"$=$$$D$O%3!<(B
$B%I$N<oN`$bH=JL$7$F$/$l$k$N$G$9$,!"%=!<%9$,IUB0$7$F$$$^$;$s!#(B

ftp.tohoku.ac.jp:/pub/X68000/tool/file.lzh

$B0l1~!":G8e$K%^%K%e%"%k$N0lIt$rE:IU$7$F$*$-$^$9!#(B

$B4A;z%3!<%I$NH=JL@lMQ$N%W%m%0%i%`$J$i$P!"(BC $B$G<+:n$7$?$N$,$"$j(B
$B$^$9$1$I!"%P%$%J%j%U%!%$%k$@$m$&$,%G%#%l%/%H%j%(%s%H%j$@$m$&(B
$B$,$*9=$$$J$7$G$9!#(B(^^;)


* version X6_02

UNIX $B$N(B file $B$r(B human68k $B$K0\?"$7$^$7$?!#(B
$B:n<T$O(B Ian Darwin $B;a$G$9!#(B

($BN,(B)

[$BJQ99E@(B]

  human $B$K0\?"$9$k$KEv$?$C$F!"0J2<$NJQ99$r9T$J$$$^$7$?!#(B

* Human $B4X78$N(B magic $B$rDI2C$7!"ITMW$H;W$o$l$k(B magic $B$r:o=|$7$^(B
  $B$7$?!#(B

* magic file $B$O0J2<$N=g$K8!:w$5$l$^$9!#(B

  -m option, $B4D6-JQ?t(B $MAGIC , $SYSROOT/etc/magic

* $B2-!w2-HG%7%s%\%j%C%/%j%s%/$KBP1~$7$F$$$^$9!#(B

* $B0l1~(B $B4A;z%3!<%I$r<1JL$7$^$9!#(B( shift jis, jis, euc, ascii+kana )

* magic file $B$N=q<0$r3HD%$7$^$7$?!#(B
  . offset $B$N4V@\;XDj$,2DG=(B
  . $B>r7o$N(B AND $B$,;HMQ2DG=(B
  . $B>r7o$K!"Ey$7$/$J$$(B ('!') $B$r;HMQ2DG=(B
  ( ChangeLog $B;2>H(B )

* -L option ($B%7%s%\%j%C%/%j%s%/$N>l9g!"<BBN$N%U%!%$%k$K$D$$$F(B
  $BJs9p$9$k(B) $B$rDI2C(B

  $B4A;z%3!<%I<1JL$O7k9=$$$$$+$2$s$G$9!#(B


[$BCx:n8"(B/$BG[I[>r7o(B]

  LEGAL_NOTICE $B$K=>$$$^$9!#(B

--
                                k-abe@ics.osaka-u.ac.jp    ( junet )
                                Abechan@Nifty-Serve        PDC02373

** README for file(1) Command **
@(#) $Header: README,v 1.9 87/11/07 12:38:30 ian Exp $

This is Ian Darwin's (copyright but distributable) file(1)
command. It follows the USG (Sys V) model of the file command,
rather than the Research (V7) version or the V7-derived Berkeley
one. That is, there is a file (/etc/magic) that contains much
of the ritual information that is the source of this program's
power. It knows a little more magic (including tar archives)
than System V; the /etc/magic parsing seems to be compatible
with the (poorly documented) System V /etc/magic format (with
one exception; see the man page).

 -----
 $BJ?K\(B $B8wFs(B / $B$_$s$H(B No.25
  ($B3t(B)$B%/%\%?(B $B%3%s%T%e!<%?;v6H?d?J<<(B
      E-Mail: hiramoto@kubota.co.jp
