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 IamaSherpa 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. mojo24

    find records via date range??

    great it works !! a sysadmin changed the permissions on the file :( without telling me over the weekend. your tips have been great thank you very very much. If I now wanted to pass user input to gwak script ie. #!/bin/sh echo "What is DSN or BUSORG_ORGID for your search?" read BUSORG_ORGID...
  2. mojo24

    find records via date range??

    thanks for the tip i just tried : /^END/ && ok && numeric > "20000000000000" && numeric < "20060425235959" { print sec }' *.rv>dateresults.txt and still nothing :(
  3. mojo24

    find records via date range??

    Thanks Annihilannic thats great i still need to work on it a little i think but at least i have a good idea form your script. I did test yours but got nothing in a out put file /^END/ && ok && numeric > "20060420000000" && numeric < "20060421235959" { print sec }' *.rv>dateresults.txt
  4. mojo24

    find records via date range??

    Thankyou both for your suggetions They sound good but a little confused on how to impliment them Dear Mike The code looks good however my perl knowledge is very basic. So i see that it will find the right range , but what about the ORGID? How do I incoperate this into my script? gawk...
  5. mojo24

    find records via date range??

    Your right. sorry it the date thing i am not sure how to do it. Sure how to compare dates and find if they are in a desired range.i.e I thought i would convert start date and end date : from dd mm yyy to yyy ddd then minus end yyy ddd from start yyy ddd then ??? I am not sure how to do...
  6. mojo24

    find records via date range??

    Hi i am a noob and need a little help to finish my shell script. I am learning as i go but hit a problem. I am search thorugh logs(*.rv) files to find entires between two user defined dates,ie dd mm yyyy - dd mm yyy The script so far looks for the "START" and "END" of each entry at sees if it...
  7. mojo24

    selecting from start to end of record based on messeger number

    Thankyou that works great !!!! I am going to start looking at lookinf between times and dates next but not untill tommorrow ! Thankyou again
  8. mojo24

    selecting from start to end of record based on messeger number

    I want to export from a log file.from ^START to ^END only if that record is from "BUSORG_ORID#" i want So far I have... awk /^START/,/^END/ *.rv >results.txt # this is able to divide the text file into the sections i want. and i was thinking about something like... awk /^START/,/^END/ &&...

Part and Inventory Search

Back
Top