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

sysvinit
Last change on this file since 10e67ec was 686839b, checked in by William Harrington <kb0iic@…>, 11 years ago

Add screen tags around userinput test commands and remap userinput for test commands as remap="test".

  • Property mode set to 100644
File size: 2.5 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="a">Prepare File for compilation:</para>
29
30<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
31
32 <para os="c">Compile the package:</para>
33
34<screen os="d"><userinput>make</userinput></screen>
35
36 <para os="e">To test the results, issue:</para>
37
38<screen os="e2"><userinput remap="test">make check</userinput></screen>
39
40 <para os="f">Install the package:</para>
41
42<screen os="g"><userinput>make install</userinput></screen>
43
44 </sect2>
45
46 <sect2 id="contents-file" role="content">
47 <title>Contents of File</title>
48
49 <segmentedlist>
50 <segtitle>Installed programs</segtitle>
51 <segtitle>Installed library</segtitle>
52
53 <seglistitem>
54 <seg>file</seg>
55 <seg>libmagic.[a,so]</seg>
56 </seglistitem>
57 </segmentedlist>
58
59 <variablelist>
60 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
61 <?dbfo list-presentation="list"?>
62 <?dbhtml list-presentation="table"?>
63
64 <varlistentry id="file">
65 <term><command>file</command></term>
66 <listitem>
67 <para>Tries to classify each given file; it does this by performing
68 several tests&mdash;file system tests, magic number tests, and
69 language tests</para>
70 <indexterm zone="ch-system-file file">
71 <primary sortas="b-file">file</primary>
72 </indexterm>
73 </listitem>
74 </varlistentry>
75
76 <varlistentry id="libmagic">
77 <term><filename class="libraryfile">libmagic</filename></term>
78 <listitem>
79 <para>Contains routines for magic number recognition, used by the
80 <command>file</command> program</para>
81 <indexterm zone="ch-system-file libmagic">
82 <primary sortas="c-libmagic">libmagic</primary>
83 </indexterm>
84 </listitem>
85 </varlistentry>
86
87 </variablelist>
88
89 </sect2>
90
91</sect1>
Note: See TracBrowser for help on using the repository browser.