How get ASCII characters similar to output of the linux command 'tree'?
bash, tree
Solution
echo -e "\0342\0224\0224\0342\0224\0200\0342\0224\0200 \033[01"
Problem
Is there a way to print the ASCII charachter '├── ' and '└──' using a bash or perl script? I want it be exactly like the output of 'tree'. ``` [root@localhost www]# tree -L 1 . ├── cgi-bin ├── error ├── html └── icons ```