Hello!
Has anyone come across / written any good code samples which they would like to share(!) for shell script reading a properties file or hash table? The shell array processing has limitations which appear to make this task look a little tricky.
In the meantime, I'll try a solution which is a psuedo-multi-dimensional array for "key/value" pairs. This is using 2 separate arrays; 1 for the key and 1 for the value. Both arrays will share a comman index.
Cheers,
Dave.
Has anyone come across / written any good code samples which they would like to share(!) for shell script reading a properties file or hash table? The shell array processing has limitations which appear to make this task look a little tricky.
In the meantime, I'll try a solution which is a psuedo-multi-dimensional array for "key/value" pairs. This is using 2 separate arrays; 1 for the key and 1 for the value. Both arrays will share a comman index.
Cheers,
Dave.