[740597c] | 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 |
|
---|
[b3d0dbd] | 7 | <!ENTITY tree-download-http "https://mama.indstate.edu/users/ice/tree/src/tree-&tree-version;.tgz">
|
---|
[01e2c90] | 8 | <!ENTITY tree-download-ftp " ">
|
---|
[a301ecad] | 9 | <!ENTITY tree-md5sum "1376096bad6b1875d680b18873c249f1">
|
---|
[ca783379] | 10 | <!ENTITY tree-size "60 KB">
|
---|
[a301ecad] | 11 | <!ENTITY tree-buildsize "728 KB">
|
---|
[740597c] | 12 | <!ENTITY tree-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="tree" xreflabel="tree-&tree-version;">
|
---|
| 16 | <?dbhtml filename="tree.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>tree-&tree-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="tree">
|
---|
| 22 | <primary sortas="a-tree">tree</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to tree</title>
|
---|
| 27 |
|
---|
[b7a85cd9] | 28 | <para>
|
---|
[ca783379] | 29 | The <application>tree</application> application is useful to display a
|
---|
| 30 | dictionary tree's contents, including files, directories, and links.
|
---|
[b7a85cd9] | 31 | </para>
|
---|
[740597c] | 32 |
|
---|
[a73fc762] | 33 | &lfs120_checked;
|
---|
[740597c] | 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
[b7a85cd9] | 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&tree-download-http;"/>
|
---|
| 40 | </para>
|
---|
[740597c] | 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
[b7a85cd9] | 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&tree-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
[740597c] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[b7a85cd9] | 48 | <para>
|
---|
| 49 | Download MD5 sum: &tree-md5sum;
|
---|
| 50 | </para>
|
---|
[740597c] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[b7a85cd9] | 53 | <para>
|
---|
| 54 | Download size: &tree-size;
|
---|
| 55 | </para>
|
---|
[740597c] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[b7a85cd9] | 58 | <para>
|
---|
| 59 | Estimated disk space required: &tree-buildsize;
|
---|
| 60 | </para>
|
---|
[740597c] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[b7a85cd9] | 63 | <para>
|
---|
| 64 | Estimated build time: &tree-time;
|
---|
| 65 | </para>
|
---|
[740597c] | 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 | </sect2>
|
---|
| 70 |
|
---|
| 71 | <sect2 role="installation">
|
---|
| 72 | <title>Installation of tree</title>
|
---|
| 73 |
|
---|
[b7a85cd9] | 74 | <para>
|
---|
| 75 | Install <application>tree</application> by running the following
|
---|
| 76 | commands:
|
---|
| 77 | </para>
|
---|
[740597c] | 78 |
|
---|
| 79 | <screen><userinput>make</userinput></screen>
|
---|
| 80 |
|
---|
[b7a85cd9] | 81 | <para>
|
---|
| 82 | This package does not come with a test suite.
|
---|
| 83 | </para>
|
---|
[740597c] | 84 |
|
---|
[b7a85cd9] | 85 | <para>
|
---|
| 86 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 87 | </para>
|
---|
[740597c] | 88 |
|
---|
[03c52662] | 89 | <!-- Without MANDIR=/usr/share/man, it'll create /usr/share/man1/man1 and
|
---|
| 90 | install 'tree.1' there. Also, without prefix=/usr, it'll install the
|
---|
| 91 | 'tree' command in /usr/local/bin. -->
|
---|
| 92 |
|
---|
[5c9acb8] | 93 | <screen role="root"><userinput>make PREFIX=/usr MANDIR=/usr/share/man install &&
|
---|
[0bd0a202] | 94 | chmod -v 644 /usr/share/man/man1/tree.1</userinput></screen>
|
---|
[740597c] | 95 |
|
---|
| 96 | </sect2>
|
---|
| 97 |
|
---|
| 98 | <sect2 role="content">
|
---|
| 99 | <title>Contents</title>
|
---|
| 100 |
|
---|
| 101 | <segmentedlist>
|
---|
| 102 | <segtitle>Installed Program</segtitle>
|
---|
| 103 | <segtitle>Installed Libraries</segtitle>
|
---|
| 104 | <segtitle>Installed Directories</segtitle>
|
---|
| 105 |
|
---|
| 106 | <seglistitem>
|
---|
| 107 | <seg>tree</seg>
|
---|
| 108 | <seg>None</seg>
|
---|
| 109 | <seg>None</seg>
|
---|
| 110 | </seglistitem>
|
---|
| 111 | </segmentedlist>
|
---|
| 112 |
|
---|
| 113 | <variablelist>
|
---|
| 114 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 115 | <?dbfo list-presentation="list"?>
|
---|
| 116 | <?dbhtml list-presentation="table"?>
|
---|
| 117 |
|
---|
| 118 | <varlistentry id="tree-app">
|
---|
| 119 | <term><command>tree</command></term>
|
---|
| 120 | <listitem>
|
---|
[b7a85cd9] | 121 | <para>
|
---|
[4c24eb0a] | 122 | displays a directory tree in a terminal
|
---|
[b7a85cd9] | 123 | </para>
|
---|
[740597c] | 124 | <indexterm zone="tree tree-app">
|
---|
| 125 | <primary sortas="b-tree">tree</primary>
|
---|
| 126 | </indexterm>
|
---|
| 127 | </listitem>
|
---|
| 128 | </varlistentry>
|
---|
| 129 |
|
---|
| 130 | </variablelist>
|
---|
| 131 |
|
---|
| 132 | </sect2>
|
---|
| 133 |
|
---|
| 134 | </sect1>
|
---|