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 gkittelson 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: *

  1. panpol

    Cron and wget

    Hi all I am trying to create a daily script which is getting every day at 11pm the index file of a website with wget, and is placing that file to my own web-server . When I run the script as follow, everything working ./the-name-of-the-script But, every time that I live to crone to make...
  2. panpol

    Delete lines from a file

    Hi, I have a file with 2 numbers, for example: 215 816 Can I use the numbers of this file, to delete some lines of one other file with the use of sed,awk,…?Is there a way to pass this numbers as parameters to sed or awk and delete the lines from 215 to 816 of one other file? Thanks
  3. panpol

    Moving a part of html file to another - awk

    Can you please explain me the code?How it works? Thanks again
  4. panpol

    Moving a part of html file to another - awk

    BEGIN { t=-1 } /<table class="newstable">/ { t=0 } /<table.*>/ { t++ } t>0 /<\/table>/ { t-- } And how can i move the lines to another file with the above coding? Thanks
  5. panpol

    Moving a part of html file to another - awk

    IF i want to stop print the lines from the second </table> etc <html> ..... <table class="newstable"> ---> from here <tr> <td> <table> ....... </table> -- first </table> </td> </tr> </table> ---> to here (second </table>) ... </html> (start from "newstable,"find the next...
  6. panpol

    Moving a part of html file to another - awk

    Thanks
  7. panpol

    Moving a part of html file to another - awk

    I have the next html file <html> .... <table class="newstable"> ---> from here .... </table> ---> to here ... </html> How can i get only the text from the line <table class="newstable"> to the next </table> to another file, with the use of awk or other filters? As a flag from start moving lines...

Part and Inventory Search

Back
Top