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 Mike Lewis 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. MotorCycleDude

    awk Question

    microm, You are a lifesaver! That works like a charm. I can’t thank you enough. Matt
  2. MotorCycleDude

    awk Question

    Great. I’ll give that a try ASAP!
  3. MotorCycleDude

    awk Question

    Nice to know I’m not the only one! Thanks.
  4. MotorCycleDude

    awk Question

    Here’s the surrounding lines. It’s in the middle with the “sub” call. This worked back in the early 90’s when I wrote it. . . . } else { # no keyword, global sub check_end_int...
  5. MotorCycleDude

    awk Question

    microm, In the change_by_col awk script I want to change column 3 to another word (you choose…). It errors on “[BUBBA” . How do I get my script to “ignore” the “[“ ? Or is that not possible within the awk script? btw, here is where I try to make the substitution: sub($col_to_chg,to); Thanks
  6. MotorCycleDude

    awk Question

    I have a ‘relatively’ simple awk script that changes ‘columns’ (delimited by whitespaces) in an ascii text file. It is sound and works until you introduce a special character like “(“ or “[“. It then results in the error message below and doesn’t make the change. I’ve Googled and Googled and...

Part and Inventory Search

Back
Top