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