Search thru .log files...

hi, new member ;) Well, I was to find some cool quotes from all my irc logs, if I make a .bat file and renames them all to .txt I can use the builtin search function to find stuff in them, but if they are still .logs I cant... is there a way t...




Topic Options
#104644 - 07/18/02 11:54 AM Search thru .log files...
Mr-Hipshot Offline
newbie

Registered: 07/18/02
Posts: 26
hi, new member wink

Well, I was to find some cool quotes from all my irc logs, if I make a .bat file and renames them all to .txt I can use the builtin search function to find stuff in them, but if they are still .logs I cant... is there a way to go around this, the logs are plain txt just as the .txt file...

Top
Advertisement
#104650 - 07/18/02 01:28 PM Re: Search thru .log files...
Mr-Hipshot Offline
newbie

Registered: 07/18/02
Posts: 26
Well thats not what I ment... I know that notepad can open everything, cause its a ascii editor and dosent affect with just opening (im often edit in games and and many games uses files that can be edited with notepad).

What I ment was that if I got a txt file called test.txt and in that file the text...

"product R300 (alias Radeon 9700), ATI is launching a successor to the mainstream 7500 series, which goes by the name Radeon 9000. Apart from a version"

...is writen. Now say that I got like tons of txt files in a folder and I just want this one with this text, (I dont know the name text.txt), then I hit F3 in winXp and seraches *.txt and then in the field 'file contains this text' I write:

mainstream 7500 series

then it seraches thru all the .txt files and finds the one called text.txt with the text "mainstream 7500 series" within it... wink

I hope you understand what I mean, cause I know that my english isnt that good, sweden you know wink

Top
#104653 - 07/18/02 01:41 PM Re: Search thru .log files...
Mr-Hipshot Offline
newbie

Registered: 07/18/02
Posts: 26
What exactly is 'GREP' ?

Top
#104655 - 07/18/02 02:03 PM Re: Search thru .log files...
Mr-Hipshot Offline
newbie

Registered: 07/18/02
Posts: 26
Well, thanks for yous answers... Ill se what I can find. wink

Top
#104671 - 07/18/02 04:57 PM Re: Search thru .log files...
clutch Offline
Carpal Tunnel

Registered: 03/29/00
Posts: 3859
I have nothing useful to contribute at the moment, other than BtVS kicks a$$.

Top
#104764 - 07/19/02 09:49 AM Re: Search thru .log files...
DosFreak Offline
Carpal Tunnel

Registered: 02/04/00
Posts: 3869
Loc: Georgia
Why rename to .txt?

The search feature in 2k/xp can look in any file.
Just associate .log with notepad for easy editing.

Top
#104770 - 07/19/02 10:33 AM Re: Search thru .log files...
Mr-Hipshot Offline
newbie

Registered: 07/18/02
Posts: 26
Hmm, I cant recall that it worked when I tried on the .log files... maybe it does, but just not at that moment.. wink

Top
#104840 - 07/19/02 09:09 PM Re: Search thru .log files...
Admiral LSD Offline
old hand

Registered: 08/14/01
Posts: 991
Quote:



A Unix Tool/command that can rip thru files for a particular phrase, & the first tool of its kind for that type of work as far as I know (it's become a "nerd" household-word, like Kleenex applies for paper-tissues, for this type of function like you ask for).

"General Regular Expression Parsing" tool may be what it's name stands for, but don't quote me on that...


The story I heard was that it referred to the key combination that a particular Unix text editor (they weren't sure which one) used to perform a search: g/re/p

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
2009 Top iPod software Rank
by april321
22 minutes 40 seconds ago
Computer Repair Utility Kit
by gailerl
Yesterday at 01:26 PM
x86 OS, RAM, & Virtual Machines
by Myke
12/22/09 08:16 PM
Ram Question
by JohnnyAshes
12/21/09 09:50 PM
NEWBIE needs help with REALTEK
by SerryJW
12/21/09 06:09 AM
Who's Online
2 Registered (april321, icewat), 153 Guests and 30 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91410 Members
24 Forums
59306 Topics
189834 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22