add function for key/value read

bash-4.1$ ./test.sh pa 11
pa 11
pa
11