Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8285399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:27:35+00:00 2026-06-08T11:27:35+00:00

i have a big domain lists file for a proxy filter. In another file

  • 0

i have a big domain lists file for a proxy filter. In another file I have some exceptions i would like to remove from filter file all rows of excpetions file. Is it possibile with some “sed” operation?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T11:27:36+00:00Added an answer on June 8, 2026 at 11:27 am

    You can generally use grep with the -v and -f options for this. In fact, you probably want to use fgrep or the -F flag as well to ensure the string are considered as fixed string rather than regexes. Without that, for example, the first line of the infile file below will be removed despite not actually matching the fixed string.

    -v reverses the sense that that matching lines are thrown away rather than kept, and -f will get the patterns from a file rather than the command line.

    For example:

    pax> cat infile
    http://wwwxdodgy.com/rest-of-url
    http://www.dodgy.com/rest-of-url
    ftp://this/one/is/good
    https://www.bad.org/rest-of-url
    
    pax> cat exceptions 
    http://www.dodgy.com
    https://www.bad.org
    
    pax> fgrep -v -f exceptions infile 
    ftp://this/one/is/good
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like iframe to be big enough to not have scrollbars, and if
I would like some practical guidance on when I should use a Domain Specific
I have a big Joomla website that was moved from .com to .eu domain.
I have big trouble with file uploads with php. My own tests are successful
I have big records to copy values from table B to table A. Currently
All, I have a big list of user emails, and I need to get
I have to populate my autocomplete PeopleEditor-like control based on brililant ASPTokenInput with all
I'm new to Django and I have a BIG problem. I don't like the
If I would build a big WCF RIA Services application with multiple domain services
I have a considerably big POJO domain model built incrementally since 2005. We also

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.