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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 13f12ee was da1d069, checked in by Jim Gifford <clfs@…>, 19 years ago

r1176@server (orig r1174): chris | 2006-02-12 21:52:03 -0800
One more testsuite info addition

  • Property mode set to 100644
File size: 2.7 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">This package does not come with a test suite.</para>
46
47 <para os="f">Install the package:</para>
48
49<screen os="g"><userinput>make install</userinput></screen>
50
51 </sect2>
52
53 <sect2 id="contents-file" role="content">
54 <title>Contents of File</title>
55
56 <segmentedlist>
57 <segtitle>Installed programs</segtitle>
58 <segtitle>Installed library</segtitle>
59
60 <seglistitem>
61 <seg>file</seg>
62 <seg>libmagic.[a,so]</seg>
63 </seglistitem>
64 </segmentedlist>
65
66 <variablelist>
67 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
68 <?dbfo list-presentation="list"?>
69 <?dbhtml list-presentation="table"?>
70
71 <varlistentry id="file">
72 <term><command>file</command></term>
73 <listitem>
74 <para>Tries to classify each given file; it does this by performing
75 several tests&mdash;file system tests, magic number tests, and
76 language tests</para>
77 <indexterm zone="ch-system-file file">
78 <primary sortas="b-file">file</primary>
79 </indexterm>
80 </listitem>
81 </varlistentry>
82
83 <varlistentry id="libmagic">
84 <term><filename class="libraryfile">libmagic</filename></term>
85 <listitem>
86 <para>Contains routines for magic number recognition, used by the
87 <command>file</command> program</para>
88 <indexterm zone="ch-system-file libmagic">
89 <primary sortas="c-libmagic">libmagic</primary>
90 </indexterm>
91 </listitem>
92 </varlistentry>
93
94 </variablelist>
95
96 </sect2>
97
98</sect1>
Note: See TracBrowser for help on using the repository browser.