Most Unix and GNU/Linux shells implement a flat variable namespace. Korn shell 93 implements a hierarchical variable namespace. This enabled the implementation of an aggregate definition for a shell variable to include subvariables called compound variables. This post tries to explain compound variables in some detail and demonstrate how useful they can be in when dealing with structured data.




