That did not work for my copy-and-paste
On Mon, Feb 24, 2020 at 8:13 AM James R <[email protected]> wrote:
>
> How about
> alias tree='find . -xdev -type d | sed -e '\''s;[^/]*/;|____;g;s;____|;
> |;g'\'''
>
> No double quotes, all single
> --
> James N Romeo II
> 855-567-6636
> [email protected]
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>
> On February 24, 2020 5:18:07 a.m. EST, Rick Leir <[email protected]> wrote:
>>
>> This does not answer your question, but
>>
>> someone wanted to learn some languages so
>>
>> here is the source in 10 different languages:
>>
>> https://github.com/kddeisz/tree
>>
>> cf
>>
>> https://github.com/nodakai/tree-command
>>
>>
>> On 2/23/20 1:02 PM, Robert P. J. Day wrote:
>>>
>>> for the sake of some documentation and web pages i'm writing, i'd
>>> like to generate "tree" like output for a directory structure, but
>>> without the standard indentation vertical and horizontal lines,
>>> replacing that with space indentation (ideally selectable).
>>>
>>> so instead of:
>>>
>>> bitbake/
>>> О©╫О©╫О©╫ AUTHORS
>>> О©╫О©╫О©╫ bin
>>> О©╫О©╫О©╫ О©╫О©╫О©╫ bitbake
>>> О©╫О©╫О©╫ О©╫О©╫О©╫ bitbake-diffsigs
>>>
>>> i'd get:
>>>
>>> bitbake/
>>> AUTHORS
>>> bin/
>>> bitbake
>>> bitbake-diffsigs
>>>
>>> and so on. in a perfect world, i'd have most of the "tree" options,
>>> like adding the "ls -F" filetype character to the end of each name if
>>> i want, but also being able to select the indentation quantum (in
>>> terms of number of spaces).
>>>
>>> i'm poring over the "tree" options but don't see if i can get that
>>> with regular "tree". thoughts? yes, i could hack up a filter, but it
>>> would be just ducky if some standard command already did what i'm
>>> after.
>>>
>>> rday
>>>
>>
>> To unsubscribe send a blank message to [email protected]
>> To get help send a blank message to [email protected]
>> To visit the archives: https://lists.linux-ottawa.org
>>
--
"You should sit in nature for 20 minutes a day.
Unless you are busy, then you should sit for an hour"
- Zen Proverb
To unsubscribe send a blank message to [email protected]
To get help send a blank message to [email protected]
To visit the archives: https://lists.linux-ottawa.org