Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
shell_dump_function [2019/10/24 23:41] rpjdayshell_dump_function [2019/10/24 23:44] (current) rpjday
Line 43: Line 43:
 HISTFILE = /home/rpjday/.bash_history HISTFILE = /home/rpjday/.bash_history
 HISTSIZE = 1000 HISTSIZE = 1000
 +$
 +</code>
 +
 +Next, dumping regular arrays:
 +
 +<code>
 +$ people=(fred barney wilma betty)
 +$ dump people
 +people = fred barney wilma betty
 +$
 +</code>
 +
 +Finally, dump a bash associative array:
 +
 +<code>
 +$ declare -A wife
 +$ wife[fred]=wilma
 +$ wife[barney]=betty
 +$ dump wife
 +wife[fred] = wilma
 +wife[barney] = betty
 $ $
 </code> </code>
  • shell_dump_function.1571960506.txt.gz
  • Last modified: 2019/10/24 23:41
  • by rpjday