findstr, for, or other command to do this?
From: djc (noone_at_nowhere.com)
Date: 04/27/04
- Next message: Stephen Quist: "Re: Xcopy behavior questions"
- Previous message: djc: "FOR command question"
- Next in thread: wadester: "Re: findstr, for, or other command to do this?"
- Reply: wadester: "Re: findstr, for, or other command to do this?"
- Reply: Matthias Tacke: "Re: findstr, for, or other command to do this?"
- Reply: Jerold Schulman: "Re: findstr, for, or other command to do this?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 27 Apr 2004 15:11:09 -0400
Situation: I have a log file with many fields and lines. Each line has say
a computername field. The same computername will be listed several times
thoughout the file. What if I wanted a list of computer names from the file?
meaning 1 instance of each name returned from a command?
example: A log file has 2 fields. ComputerName and DLLVersion. I want to
construct a command or batch file that will return a unique list of computer
names that do not have a DLLVersion equal to 4.1.002. Just using the find
command gets me close but its not a unique list. The same computer names
will be listed multiple times.
any input is appreciated. Thanks.
- Next message: Stephen Quist: "Re: Xcopy behavior questions"
- Previous message: djc: "FOR command question"
- Next in thread: wadester: "Re: findstr, for, or other command to do this?"
- Reply: wadester: "Re: findstr, for, or other command to do this?"
- Reply: Matthias Tacke: "Re: findstr, for, or other command to do this?"
- Reply: Jerold Schulman: "Re: findstr, for, or other command to do this?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|