source: final-system/common/file.xml@ 62ceb05

Last change on this file since 62ceb05 was 2659c74, checked in by Jim Gifford <clfs@…>, 19 years ago

r677@server (orig r675): manuel | 2005-11-10 03:13:57 -0800
Including patches.ent from general.ent

  • Property mode set to 100644
File size: 2.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-file" role="wrap">
9 <?dbhtml filename="file.html"?>
10
11 <title>File-&file-version;</title>
12
13 <indexterm zone="ch-system-file">
14 <primary sortas="a-File">File</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The File package contains a utility for determining the type of
21 a given file or files.</para>
22
23 <segmentedlist>
24 <segtitle>&dependencies;</segtitle>
25
26 <seglistitem>
27 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep,
28 Make, Sed, and Zlib</seg>
29 </seglistitem>
30 </segmentedlist>
31
32 </sect2>
33
34 <sect2 role="installation">
35 <title>Installation of File</title>
36
37 <para os="a">Prepare File for compilation:</para>
38
39<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
40
41 <para os="c">Compile the package:</para>
42
43<screen os="d"><userinput>make</userinput></screen>
44
45 <para os="e">Install the package:</para>
46
47<screen os="f"><userinput>make install</userinput></screen>
48
49 </sect2>
50
51 <sect2 id="contents-file" role="content">
52 <title>Contents of File</title>
53
54 <segmentedlist>
55 <segtitle>Installed programs</segtitle>
56 <segtitle>Installed library</segtitle>
57
58 <seglistitem>
59 <seg>file</seg>
60 <seg>libmagic.[a,so]</seg>
61 </seglistitem>
62 </segmentedlist>
63
64 <variablelist>
65 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
66 <?dbfo list-presentation="list"?>
67 <?dbhtml list-presentation="table"?>
68
69 <varlistentry id="file">
70 <term><command>file</command></term>
71 <listitem>
72 <para>Tries to classify each given file; it does this by performing
73 several tests&mdash;file system tests, magic number tests, and
74 language tests</para>
75 <indexterm zone="ch-system-file file">
76 <primary sortas="b-file">file</primary>
77 </indexterm>
78 </listitem>
79 </varlistentry>
80
81 <varlistentry id="libmagic">
82 <term><filename class="libraryfile">libmagic</filename></term>
83 <listitem>
84 <para>Contains routines for magic number recognition, used by the
85 <command>file</command> program</para>
86 <indexterm zone="ch-system-file libmagic">
87 <primary sortas="c-libmagic">libmagic</primary>
88 </indexterm>
89 </listitem>
90 </varlistentry>
91
92 </variablelist>
93
94 </sect2>
95
96</sect1>
Note: See TracBrowser for help on using the repository browser.