dtree

Програм из командне линије за исцртавање стабала
git clone https://git.sr.ht/~strahinja/dtree
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

чување 3dec79c498196ee05fb9b4db764fd543fc80f2a2
родитељ d4e7202b70f65231b6f1eccce5caa600e7c9530a
Аутор: Страхиња Радић <contact@strahinja.org>
Датум:   Sun, 17 Sep 2023 22:37:46 +0200

README: New file; ftree.1.in: Correct example

Signed-off-by: Страхиња Радић <contact@strahinja.org>

Diffstat:
AREADME | 37+++++++++++++++++++++++++++++++++++++
Mftree.1.in | 10+++++++++-
измењених датотека: 2, додавања: 46(+), брисања: 1(-)

diff --git a/README b/README @@ -0,0 +1,37 @@ +ftree +===== + +Command line program to draw trees + +For installation instructions, see the file INSTALL. + + +Examples +-------- + +Format a tree using double-stroke box drawing characters: + + $ printf "A\n\tB\n\t\tC\n\tD\n" | ftree -sd + A + ╠══B + ║ ╚══C + ╚══D + + +License +------- + +ftree - Command line program to draw trees +Copyright (C) 2023 Страхиња Радић + +This program is free software: you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free Software +Foundation, either version 3 of the License, or (at your option) any later +version. + +This program is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with +this program. If not, see <https://www.gnu.org/licenses/>. diff --git a/ftree.1.in b/ftree.1.in @@ -52,7 +52,15 @@ and (single\-stroke set, default). .El .Sh EXAMPLES -.Dl $ printf \(dqA\en\etB\en\et\etC\en\etD\en\(dq | ./ftree -sd +Format a tree using double-stroke box drawing characters: +. +.Bd -literal +$ printf \(dqA\en\etB\en\et\etC\en\etD\en\(dq | ftree -sd +A +╠══B +║ ╚══C +╚══D +.Ed .Sh SEE ALSO .Xr tree 1 .Sh AUTHORS