I've two text files and I want to put each line from both files as output i.e.
#!/bin/bash
u=`cat newlist`
for i in $u
do
echo ""
echo ",'$i'"
for b in $( cat password )
do
echo ",'$b'"
done
done
Output should be
abc - from Users file 'line # 1'
123 - from password file 'line # 1'
Any help please
paste
Also, BASH FAQ entry #1.