I'm a C shell user.
I've two files.
file 1:
A
B
C
D
E
file 2:
A
C
B
D
E
I want to compare only A-A, B-C, C-B, D-D, E-E using a for loop.
If the strings match, then print "match".
The output would look like:
A A -> match
B C -> " "
C-B -> " "
D-D -> match
E-E -> match
How do I use the for loop?