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

  • Home
  • SEARCH
  • 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 6870767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:43:25+00:00 2026-05-27T03:43:25+00:00

I have a file from which I have to do selective printing. I want

  • 0

I have a file from which I have to do selective printing. I want to print everything from a particular tag till the end. How should I go about it?

  • 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-05-27T03:43:26+00:00Added an answer on May 27, 2026 at 3:43 am

    Looks like you havent googled this. 🙂

    You can use AWK and SED Utilities to get this done.

    AWK:

    awk '/regex/,0' INPUTFILE
    

    This one liner matches all lines with pattern that is in your regex. Pattern two is 0 which will always be false and hence awk will continue printing lines starting from your matched pattern to the end of file.

    SED:

    sed -n '/regex/,$p' INPUTFILE
    

    This is similar to awk in terms of Regex range. This matches everything from your pattern to the end of file and prints it.

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

Sidebar

Related Questions

I have a file from which i read line by line and i have
I have an xml file from which I am extracting html using LINQ to
I have a cpp file from which I am generating a shared library (using
I have a csv file from which I have to populate different tables in
We have a binary file from which we have identified the following dates (as
I have a HTML file upload field from which I'm reading the file name
I have an xml file(from federal government's data.gov) which I'm trying to read with
I have a file, myfile.py , which imports Class1 from file.py and file.py contains
I have this code which will include template.php file from inside each of these
I have a scenario in which I'm serving a file from codebehind. which file,

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.