Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jan 2006 16:41:02 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Kristian Vaaf <vaaf@broadpark.no>
Cc:        questions@freebsd.org
Subject:   Re: Need to simplify a script that makes cool trees
Message-ID:  <20060107163754.W41156@wonkity.com>
In-Reply-To: <126cd9cc5adb.43c01a52@broadpark.no>
References:  <126cd9cc5adb.43c01a52@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060107163754.W41156>