LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-03-2005, 06:21 PM   #1
jorisb
Member
 
Registered: Jan 2004
Distribution: Mandrake 10.1
Posts: 33

Rep: Reputation: 15
Need help with sorting through "database"


I have a massive file containing all exe files on windows machines.
I have a second file that contains all exe files I'm not interested in.

I would like a third file to be created that shows all exe's from the first file minus the ones in the second.

I'm thinking it's best to use a combination of grep and look command, but have no real idea how to even begin this.

Anyone?
 
Old 11-03-2005, 07:04 PM   #2
jorisb
Member
 
Registered: Jan 2004
Distribution: Mandrake 10.1
Posts: 33

Original Poster
Rep: Reputation: 15
grep -iv example.exe data.list
This works to show the entire list except for example.exe

Now if only I could go through a list one by one and replace example.exe with each line in this file.

Someone here has to know a command to do this and pipe into this grep command
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
Snort database: Closing connection to database "" Homer Glemkin Linux - Security 2 07-14-2005 06:58 PM
How to find back "history" database after "history -c" ? san_lss Linux - Newbie 1 01-07-2004 11:53 AM
Can't find init file for database "SID_NAME" cyrilbritto Linux - General 0 08-20-2003 07:42 AM


All times are GMT -5. The time now is 05:40 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration