Open hkrewson opened 9 years ago
http://stackoverflow.com/questions/1494178/how-to-define-hash-tables-in-bash
declare -a (not declare -A as stated in the above page).
declare -a dictname dictname=(["key"]="val" ["key"]="val" ["key"]="val" )
http://hints.macworld.com/article.php?story=20050217130820258
Talks about how to do a recursive content search of files in a directory.
http://stackoverflow.com/questions/1494178/how-to-define-hash-tables-in-bash
declare -a (not declare -A as stated in the above page).
declare -a dictname dictname=(["key"]="val" ["key"]="val" ["key"]="val" )