ShellTree 6: Further Optimization by Removing Changes to IFS

This post is part of an educational series on building a shell script to graphically display the structure of a directory. Previously We broke down Dem Pilafian’s one line command to display a tree of a directory We broke down Dem Pilafian’s script that uses the one line command We modified the one line to…

ShellTree 5: Optimizing the Recursive Script by Removing Arrays and Adding a String

This post is part of an educational series on building a shell script to graphically display the structure of a directory. Previously We broke down Dem Pilafian’s one line command to display a tree of a directory We broke down Dem Pilafian’s script that uses the one line command We modified the one line to…

ShellTree 4: Building a New Recursive Script

This post is part of an educational series on building a shell script to graphically display the structure of a directory. Previously We broke down Dem Pilafian’s one line command to display a tree of a directory We broke down Dem Pilafian’s script that uses the one line command We modified the one line to…

Shell Tree: Building A Shell Script for the Graphic Representation of a Directory Structure

This is a series of posts detailing different methods of printing out a graphical representation of a tree in using a bash shell script. It culminates in the building of a recursive shell script. Breaking down Dem Pilafian’s one line command to display a tree of a directory Breaking down Dem Pilafian’s script that uses…

ShellTree 3: Modifying and Optimizing the One Line Command Implementation

This post is part of an educational series on building a shell script to graphically display the structure of a directory. Previously We broke down Dem Pilafian’s one line command to display a tree of a directory We broke down Dem Pilafian’s script that uses the one line command Setup Directory and Script Setup Please…