source: BOOK/final-system/common/file.xml@ f765af0

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f765af0 was e244b2a, checked in by Jim Gifford <clfs@…>, 16 years ago

Fix File UTF-8 Issues

  • 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.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of File</title>
27
28 <para os="p1">The following patch will fix an issue due to utf-8 with file on documents:</para>
29
30<screen os="p2"><userinput>patch -Np1 -i ../&file-fixes-patch;</userinput></screen>
31
32 <para os="a">Prepare File for compilation:</para>
33
34<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
35
36 <para os="c">Compile the package:</para>
37
38<screen os="d"><userinput>make</userinput></screen>
39
40 <para os="e">This package does not come with a test suite.</para>
41
42 <para os="f">Install the package:</para>
43
44<screen os="g"><userinput>make install</userinput></screen>
45
46 </sect2>
47
48 <sect2 id="contents-file" role="content">
49 <title>Contents of File</title>
50
51 <segmentedlist>
52 <segtitle>Installed programs</segtitle>
53 <segtitle>Installed library</segtitle>
54
55 <seglistitem>
56 <seg>file</seg>
57 <seg>libmagic.[a,so]</seg>
58 </seglistitem>
59 </segmentedlist>
60
61 <variablelist>
62 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
63 <?dbfo list-presentation="list"?>
64 <?dbhtml list-presentation="table"?>
65
66 <varlistentry id="file">
67 <term><command>file</command></term>
68 <listitem>
69 <para>Tries to classify each given file; it does this by performing
70 several tests&mdash;file system tests, magic number tests, and
71 language tests</para>
72 <indexterm zone="ch-system-file file">
73 <primary sortas="b-file">file</primary>
74 </indexterm>
75 </listitem>
76 </varlistentry>
77
78 <varlistentry id="libmagic">
79 <term><filename class="libraryfile">libmagic</filename></term>
80 <listitem>
81 <para>Contains routines for magic number recognition, used by the
82 <command>file</command> program</para>
83 <indexterm zone="ch-system-file libmagic">
84 <primary sortas="c-libmagic">libmagic</primary>
85 </indexterm>
86 </listitem>
87 </varlistentry>
88
89 </variablelist>
90
91 </sect2>
92
93</sect1>
Note: See TracBrowser for help on using the repository browser.