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

  • Users: mfvd
  • Order by date
  1. mfvd

    asterik as record seperator

    Yes, nawk on my solaris 8 system does works. thanks.
  2. mfvd

    asterik as record seperator

    Yes, did not work on my solaris 8 system, but when run on a linux system, ran great. thanks.
  3. mfvd

    asterik as record seperator

    Same error with the one line eliminated: awk: can't set $0 record number 9
  4. mfvd

    asterik as record seperator

    I get: awk: can't set $0 record number 9 When I run the code posted by futurelet (Programmer).
  5. mfvd

    asterik as record seperator

    Thanks, but the posted code using, { FS="\n" ; RS="\n\\*+\n" } treats each line as a seperate record. I just posted an excerpt from my input file.
  6. mfvd

    asterik as record seperator

    Input file looks like this: ********************************************** Thu Mar 11 22:50:33 2004 ns1.xx.com <ipaddress> To: jwile@xx.com From: ghjfe@r5rd5r.com MessageID: <KXBHPBRWBYUYBODUZNDH@yahoo.com> Subject: Need pain pills? Hits: 7.155 BAYES_90,MY_body_VIAGRA,PRIORITY_NO_NAME...
  7. mfvd

    asterik as record seperator

    I have a multiple line file with each record seperated by a line of 45 asteriks. I am trying to print just specific fields/lines within each record. Some fields within the record may have an asterik in it. According to the O'reilly book, awk only pays attention to the first char. of the RS...

Part and Inventory Search

Back
Top