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 Rhinorhino 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: moonhead
  • Content: Threads
  • Order by date
  1. moonhead

    execute lines from a file

    Dear All if i had a file that contained a list of commands example ls -l whoami how can i extract each line and execute it then send the output of the command to a unique file moonhead
  2. moonhead

    removing xml comments from file

    how can you remove xml tags from a file file: ======================================================= <!-- NB: All suites del.batches will be run at the beginning followed by the rmhist.batches to ensure that all msisdns are in a suitable position to be used -->...
  3. moonhead

    strip lnes from log files

    Dear all If i have a text file that contains a number of lines that i dont wan't can i remove the lines based on a generic word within the file example file: line apples and pears line apples and pears line chips and cheese with a selection of chicken line chips and cheese with a selection of...
  4. moonhead

    user options STDIN

    Hi All the code below is doing a search on a file and outputting the results to screen. i would like to give the user the option of doing another search. as you can see i have an if statement setup but i can't call the while loop. how do i do it? open (FILE, &quot;files/comp.log&quot;)...
  5. moonhead

    grabbing a line from an array

    Hi All i am currently writing a script that reads a file into an array. i am then doing a search from stdin for a string in the file. my next task is as follows: i would like to grab the line of text where the search string is stored and display it on the screen. including multiple instances...
  6. moonhead

    search text in file from STDIN

    hi there i am currently writing a script that does stuff with files one file has a list of numbers i am trying to perform a match for a string entered from STDIN it compares what the user enters to the content of the file eg enter a number... 2345 #user enters number 2345 is searched for in...

Part and Inventory Search

Back
Top