Problem Statement
Print a tree structure showing all the files and directories under the current directory.
Solution
find ./ | sed -e 's/[^-][^\/]*\//--/g;s/--/ |-/'
Print a tree structure showing all the files and directories under the current directory.
Solution
find ./ | sed -e 's/[^-][^\/]*\//--/g;s/--/ |-/'