Changeset 54e422c1 for chapter06/file.xml
- Timestamp:
- 02/03/2006 08:54:03 PM (18 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 6a82dd9
- Parents:
- 45b032f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/file.xml
r45b032f r54e422c1 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 7 6 8 <sect1 id="ch-system-file" role="wrap"> 7 <title>File-&file-version;</title> 8 <?dbhtml filename="file.html"?> 9 <?dbhtml filename="file.html"?> 9 10 10 <indexterm zone="ch-system-file"><primary sortas="a-File">File</primary></indexterm>11 <title>File-&file-version;</title> 11 12 12 <sect2 role="package"><title/>13 <para>The File package contains a utility for determining the type of a given 14 file or files.</para>13 <indexterm zone="ch-system-file"> 14 <primary sortas="a-File">File</primary> 15 </indexterm> 15 16 16 <segmentedlist> 17 <segtitle>&buildtime;</segtitle> 18 <segtitle>&diskspace;</segtitle> 19 <seglistitem><seg>0.1 SBU</seg><seg>6.2 MB</seg></seglistitem> 20 </segmentedlist> 17 <sect2 role="package"> 18 <title/> 21 19 22 <segmentedlist> 23 <segtitle>&dependencies;</segtitle> 24 <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, 25 GCC, Glibc, Grep, Make, Sed, and Zlib</seg></seglistitem> 26 </segmentedlist> 27 </sect2> 20 <para>The File package contains a utility for determining the type of a given 21 file or files.</para> 28 22 29 <sect2 role="installation"> 30 <title>Installation of File</title> 23 <segmentedlist> 24 <segtitle>&buildtime;</segtitle> 25 <segtitle>&diskspace;</segtitle> 31 26 32 <para>Prepare File for compilation:</para> 27 <seglistitem> 28 <seg>0.1 SBU</seg> 29 <seg>6.2 MB</seg> 30 </seglistitem> 31 </segmentedlist> 33 32 34 <screen><userinput>./configure --prefix=/usr</userinput></screen> 33 <segmentedlist> 34 <segtitle>&dependencies;</segtitle> 35 35 36 <para>Compile the package:</para> 36 <seglistitem> 37 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, 38 Sed, and Zlib</seg> 39 </seglistitem> 40 </segmentedlist> 41 42 </sect2> 43 44 <sect2 role="installation"> 45 <title>Installation of File</title> 46 47 <para>Prepare File for compilation:</para> 48 49 <screen><userinput>./configure --prefix=/usr</userinput></screen> 50 51 <para>Compile the package:</para> 37 52 38 53 <screen><userinput>make</userinput></screen> 39 54 40 <para>This package does not come with a test suite.</para>55 <para>This package does not come with a test suite.</para> 41 56 42 <para>Install the package:</para>57 <para>Install the package:</para> 43 58 44 59 <screen><userinput>make install</userinput></screen> 45 60 46 </sect2>61 </sect2> 47 62 48 63 49 <sect2 id="contents-file" role="content"><title>Contents of File</title> 64 <sect2 id="contents-file" role="content"> 65 <title>Contents of File</title> 50 66 51 <segmentedlist> 52 <segtitle>Installed programs</segtitle> 53 <segtitle>Installed library</segtitle> 54 <seglistitem><seg>file</seg><seg>libmagic.[a,so]</seg></seglistitem> 55 </segmentedlist> 67 <segmentedlist> 68 <segtitle>Installed programs</segtitle> 69 <segtitle>Installed library</segtitle> 56 70 57 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead> 58 <?dbfo list-presentation="list"?> 59 <?dbhtml list-presentation="table"?> 71 <seglistitem> 72 <seg>file</seg> 73 <seg>libmagic.[a,so]</seg> 74 </seglistitem> 75 </segmentedlist> 60 76 61 <varlistentry id="file"> 62 <term><command>file</command></term> 63 <listitem> 64 <para>Tries to classify each given file; it does this by performing 65 several tests—file system tests, magic number tests, and language 66 tests</para> 67 <indexterm zone="ch-system-file file"><primary sortas="b-file">file</primary></indexterm> 68 </listitem> 69 </varlistentry> 77 <variablelist> 78 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 79 <?dbfo list-presentation="list"?> 80 <?dbhtml list-presentation="table"?> 70 81 71 <varlistentry id="libmagic"> 72 <term><filename class="libraryfile">libmagic</filename></term> 73 <listitem> 74 <para>Contains routines for magic number recognition, used by the 75 <command>file</command> program</para> 76 <indexterm zone="ch-system-file libmagic"><primary sortas="c-libmagic">libmagic</primary></indexterm> 77 </listitem> 78 </varlistentry> 79 </variablelist> 82 <varlistentry id="file"> 83 <term><command>file</command></term> 84 <listitem> 85 <para>Tries to classify each given file; it does this by performing 86 several tests—file system tests, magic number tests, and language 87 tests</para> 88 <indexterm zone="ch-system-file file"> 89 <primary sortas="b-file">file</primary> 90 </indexterm> 91 </listitem> 92 </varlistentry> 80 93 81 </sect2> 94 <varlistentry id="libmagic"> 95 <term><filename class="libraryfile">libmagic</filename></term> 96 <listitem> 97 <para>Contains routines for magic number recognition, used by the 98 <command>file</command> program</para> 99 <indexterm zone="ch-system-file libmagic"> 100 <primary sortas="c-libmagic">libmagic</primary> 101 </indexterm> 102 </listitem> 103 </varlistentry> 104 105 </variablelist> 106 107 </sect2> 82 108 83 109 </sect1> 84
Note:
See TracChangeset
for help on using the changeset viewer.