1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 | <!ENTITY tree-download-http "https://gitlab.com/OldManProgrammer/unix-tree/-/archive/&tree-version;/unix-tree-&tree-version;.tar.bz2">
|
---|
8 | <!ENTITY tree-download-ftp " ">
|
---|
9 | <!ENTITY tree-md5sum "9be227932ab457c29f33196544cd1e13">
|
---|
10 | <!ENTITY tree-size "56 KB">
|
---|
11 | <!ENTITY tree-buildsize "560 KB">
|
---|
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 |
|
---|
28 | <para>
|
---|
29 | The <application>tree</application> application is useful to display a
|
---|
30 | dictionary tree's contents, including files, directories, and links.
|
---|
31 | </para>
|
---|
32 |
|
---|
33 | &lfs122_checked;
|
---|
34 |
|
---|
35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
36 | <itemizedlist spacing="compact">
|
---|
37 | <listitem>
|
---|
38 | <para>
|
---|
39 | Download (HTTP): <ulink url="&tree-download-http;"/>
|
---|
40 | </para>
|
---|
41 | </listitem>
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (FTP): <ulink url="&tree-download-ftp;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download MD5 sum: &tree-md5sum;
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download size: &tree-size;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Estimated disk space required: &tree-buildsize;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated build time: &tree-time;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | </itemizedlist>
|
---|
68 |
|
---|
69 | </sect2>
|
---|
70 |
|
---|
71 | <sect2 role="installation">
|
---|
72 | <title>Installation of tree</title>
|
---|
73 |
|
---|
74 | <para>
|
---|
75 | Install <application>tree</application> by running the following
|
---|
76 | commands:
|
---|
77 | </para>
|
---|
78 |
|
---|
79 | <screen><userinput>make</userinput></screen>
|
---|
80 |
|
---|
81 | <para>
|
---|
82 | This package does not come with a test suite.
|
---|
83 | </para>
|
---|
84 |
|
---|
85 | <para>
|
---|
86 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
87 | </para>
|
---|
88 |
|
---|
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 |
|
---|
93 | <screen role="root"><userinput>make PREFIX=/usr MANDIR=/usr/share/man install</userinput></screen>
|
---|
94 |
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | <sect2 role="content">
|
---|
98 | <title>Contents</title>
|
---|
99 |
|
---|
100 | <segmentedlist>
|
---|
101 | <segtitle>Installed Program</segtitle>
|
---|
102 | <segtitle>Installed Libraries</segtitle>
|
---|
103 | <segtitle>Installed Directories</segtitle>
|
---|
104 |
|
---|
105 | <seglistitem>
|
---|
106 | <seg>tree</seg>
|
---|
107 | <seg>None</seg>
|
---|
108 | <seg>None</seg>
|
---|
109 | </seglistitem>
|
---|
110 | </segmentedlist>
|
---|
111 |
|
---|
112 | <variablelist>
|
---|
113 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
114 | <?dbfo list-presentation="list"?>
|
---|
115 | <?dbhtml list-presentation="table"?>
|
---|
116 |
|
---|
117 | <varlistentry id="tree-app">
|
---|
118 | <term><command>tree</command></term>
|
---|
119 | <listitem>
|
---|
120 | <para>
|
---|
121 | displays a directory tree in a terminal
|
---|
122 | </para>
|
---|
123 | <indexterm zone="tree tree-app">
|
---|
124 | <primary sortas="b-tree">tree</primary>
|
---|
125 | </indexterm>
|
---|
126 | </listitem>
|
---|
127 | </varlistentry>
|
---|
128 |
|
---|
129 | </variablelist>
|
---|
130 |
|
---|
131 | </sect2>
|
---|
132 |
|
---|
133 | </sect1>
|
---|