while IFS=$'\n' read -r a; do while IFS=$'\n' read -r b; do echo $a$b; done combined.txt
while IFS=$'\n' read -r a; do while IFS=$'\n' read -r b; do echo $a$b; done < dic1.txt; done < dic2.txt > combined.txt