Answers for "linux alternatives to tree"

0

linux alternatives to tree

#replica of tree comand using find and sed
function tree() {
    find ${1:-.} | sed -e "s/[^-][^\/]*\//  |/g" -e "s/|\([^ ]\)/|-\1/"
}
Posted by: Guest on September-16-2020
0

linux alternatives to tree

#replica of tree comand using find and sed
function tree() {
    find ${1:-.} | sed -e "s/[^-][^\/]*\//  |/g" -e "s/|\([^ ]\)/|-\1/"
}
Posted by: Guest on September-16-2020

Code answers related to "linux alternatives to tree"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language