View previous topic :: View next topic
|
Author |
Message |
sushidas Warnings : 2 New User
Joined: 23 Aug 2006 Posts: 13
|
|
|
|
Hi,
I want to check if the two fields of a record is same or not. If it is same, I would like to write such records to an output file.
Can we do it using ICETOOL/SORT. Pls suggest.
Example..
Input file:
f1 f2 f3 f4
111 AAABBB 111 TTTTT
345 FFFHHH 546 GGGG
414 FFFSSS 414 NNNN
Output file where field f1 is equal to f3:
111 AAABBB 111 TTTTT
414 FFFSSS 414 NNNN |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Code: |
SORT FIELDS=COPY
INCLUDE COND=(pos,len,format,EQ,pos,len,format) |
|
|
Back to top |
|
|
sushidas Warnings : 2 New User
Joined: 23 Aug 2006 Posts: 13
|
|
|
|
thank you |
|
Back to top |
|
|
|