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…
When writing a bash shell script it is important to understand how IFS (Internal Field Separtor) works and how it can be modified/changed. What is IFS As mentioned in the man bash pages IFS is defined as follows: IFS The Internal Field Separator that is used for word splitting after expansion and to split lines…
Bash backslash escaped characters and whitespace can be a headache if not understood properly. This post will endeavour to explore whitespace and backslash escaped characters with practical examples. What are Backslash Escaped Characters These are character sequences that, in certain cases, indicate a special character that is, usually, hard to see for the human reader,…
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…
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…