File: magic2mime.man

package info (click to toggle)
file 3.37-3.1.woody.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,176 kB
  • ctags: 506
  • sloc: ansic: 4,299; sh: 352; makefile: 127; perl: 61
file content (30 lines) | stat: -rw-r--r-- 697 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
.\" Manpage written by Nicols Lichtmaier <nick@debian.org>
.TH FILE __CSECTION__ "January 1999" "Debian/GNU Linux"
.SH NAME
file \- determine file type
.SH SYNOPSIS
.B magic2mime
.SH DESCRIPTION
This manual page documents version __VERSION__ of the
.B magic2mime
command.
.PP
This command receives the output of the
.BR file (__CSECTION__)
command and outputs a posible mime type for the data described;
e. g.:
.nf
.nr 5i
file -b files... | magic2mime.
.fi
.SH SEE ALSO
.BR file (__CSECTION__)
.br
.SH BUGS
This program depends on exact output from the
.BR file (__CSECTION__)
command. Don't use this command, use
.BR file (1)
with the
.B \-i
option. This command might be removed in the future.