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 linux+unsubscribe [ at ] linux-ottawa [ dot ] org To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org To visit the archives: https://lists.linux-ottawa.org