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 8108969
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T01:16:29+00:00 2026-06-06T01:16:29+00:00

I am in the middle of a software development class and am trying to

  • 0

I am in the middle of a software development class and am trying to practice “DRY” principles in all things software dev, so for practice, I want to get wget to download all the files in this (http://fusionplant.com/archive/textfiles/) directory which contain the word “offensive”.

Here’s an example of one of them: http://fusionplant.com/archive/textfiles/gnu_fortune/gnu_fortune_offensive_astrology

Are there any methods to accomplish this? I imagine they would use regular expressions, but I can’t find any sufficiently comparable examples online to get it done.

here’s a command I tried to use, it’s wrong. Not even close, but here it is:

    wget -A '*offensive*.txt' http://fusionplant.com/archive/textfiles/gnu_fortune

It didn’t return an error message, but just downloaded the index file

wget -A '*offensive*.txt' http://fusionplant.com/archive/textfiles/gnu_fortune
--2012-06-15 11:15:07--  http://fusionplant.com/archive/textfiles/gnu_fortune
Resolving fusionplant.com... 216.254.119.231
Connecting to fusionplant.com|216.254.119.231|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://fusionplant.com/archive/textfiles/gnu_fortune/ [following]
--2012-06-15 11:15:07--  http://fusionplant.com/archive/textfiles/gnu_fortune/
Reusing existing connection to fusionplant.com:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “gnu_fortune”

[  <=>                                  ] 14,576      50.4K/s   in 0.3s    

2012-06-15 11:15:08 (50.4 KB/s) - “gnu_fortune” saved [14576]
  • 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-06T01:16:30+00:00Added an answer on June 6, 2026 at 1:16 am

    You can’t do it like this. You will have to download the files and then check whether the files contain the string. You can’t send a request to the server for it to do this for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use jQuery's controls in Software AG webMethods development IDE .. Now
I'm in the middle of some work and suddenly I get this. Warning: require(/opt/lampp/htdocs/ERP/laravel/÷5
I have been using several Microbreaks software solutions. And all of them are overkill
We are in the middle of looking for open source change control management software.
We're in the middle of deploying a new software system to lot's of users
I am trying to generate TAGS tables using etags for a large software project.
I'm in the middle of a project where we will migrate a major software
I am currently in the middle of the development of a website. If a
I'm working in the middle level of company. I use the Rational Software Architect(RSA)7.5.5
I'm in the middle of setting up a table, and I want to look

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.