Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: NesPes
  • Content: Threads
  • Order by date
  1. NesPes

    File printing

    I have a very basic question on deleting/printing from/to a file. My input file is something like this: A1:This is the first line A2:Welcome to the first line A3:haaaaaaaaaaaaaaaaaaaaa A1:This is the first line A2:Welcome to the second line A3:heeeeeeeeeeeeeeeeeeeee I want to first...
  2. NesPes

    use of arrays

    I would like to copy an entire file in an array and search for a keyword "Search". When this keyword is found, i then want to copy next 6 lines from this keyword. This task needs to be repeated for the entire file. Can somebody guide me how to go about this? Thanks.
  3. NesPes

    Issue with Nested IF loops

    I face issues when i have nested if conditions. The code never goes to the second nested if loop. Any ideas/thoughts on this?
  4. NesPes

    Searching string in a file

    i have a very basic question. Since i am new to Perl, i am unable to resolve this myself. Any help will be greatly appreciated. I am browsing through a file and searching for a string. If the string matches, i want to pick the next line. Somehow i am not able to move my file handler to the next...

Part and Inventory Search

Back
Top