search string
Posted: 10 Feb 2015 15:58
I have following file that contains following text...
The output should in
so I basically need to search for string of text that is in between the character ' ' for each line (so there are 2 in each line) and remove the duplicates. Any directions how I can go about this? purely batch. No third party applications in windows environment.
thanks
Code: Select all
11072 [646] INFO 2015-02-10 14:31:58.759 Dependency Adding cube: Cube 'DETAIL1' depends on cube 'INFO_BLAH1'.
11072 [646] INFO 2015-02-10 14:31:58.759 Dependency Adding cube: Cube 'DETAIL' depends on cube 'INFO_BLAH'.
9764 [62f] INFO 2015-02-10 14:33:27.491 Dependency Adding cube: Cube 'DETAIL1' depends on cube 'INO_BLAH1'.
9764 [62f] INFO 2015-02-10 14:33:27.491 Dependency Adding cube: Cube 'DETAIL' depends on cube 'INFO_BLAH'.
The output should in
Code: Select all
Cube: DETAIL1 on INFO_BLAH1
Cube: DETAIL on INFO_BLAH
so I basically need to search for string of text that is in between the character ' ' for each line (so there are 2 in each line) and remove the duplicates. Any directions how I can go about this? purely batch. No third party applications in windows environment.
thanks