View previous topic :: View next topic
|
Author |
Message |
vraki
New User
Joined: 22 Mar 2006 Posts: 1
|
|
|
|
Hi,
I have sample files below like this.
File1
1111 A
1111 B
2222 A
3333 A
3333 B
3333 C
4444 A
4444 B
File2
1111 X
2222 X
2222 Y
2222 Z
3333 X
3333 Y
3333 Z
5555 X
The output required below like this.
1111 A X
1111 B
2222 A X
2222 Y
2222 Z
3333 A X
3333 B Y
3333 C Z
4444 A
4444 B
5555 X
Raki :?: |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
This is an odd way of matching so you'd need to explain the rules.
Normally one would expect the output to be like this:
Code: |
1111 A X
1111 B X
2222 A X
2222 A Y
2222 A Z
3333 A X
3333 A Y
3333 A Z
3333 B X
3333 B Y
3333 B Z
3333 C X
3333 C Y
3333 C Z
...
|
But you appear to want something different so you have to explain the rules for getting from input to output. |
|
Back to top |
|
|
|