Need to simplify a script that makes cool trees

Warren Block wblock at
Sat Jan 7 15:41:19 PST 2006

On Sat, 7 Jan 2006, Kristian Vaaf wrote:

> Here's the latest addition.
> Just to give you an idea of what simplicity I'm aiming towards.

Have you seen this?  (Not mine, found on Usenet long ago.)

find ./ -type d -print | sed -e 's;[^/]*/;|____;g;s;____|;    |;g'

That's the whole thing.

-Warren Block * Rapid City, South Dakota USA

More information about the freebsd-questions mailing list