fork(1) download
  1. #!/bin/bash
  2. # your code goes here
  3.  
  4. declare -a hash
  5. hash=([a]="A" [b]="B" [c]="C" [d]="D")
  6.  
  7. echo ${hash[a]}
  8.  
Success #stdin #stdout 0s 19632KB
stdin
Standard input is empty
stdout
D