Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- declare -A map
- cat file.dat | while read K V
- do
- map[$V]=$K
- echo "${map[@]}"
- done
- echo "${map[@]}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement