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. Shellmaster

    search exact string

    Hey feherke, thank yo very much it works fine to this point :) now i want to put a LOOP variable into the regex like for(i=1;i<=5,i++){ gsub(/\yoldi\y/,"new"i) } but it doesnt work, it always makes the i part of the String like "i" and not the reference to the number (1-5) of the...
  2. Shellmaster

    search exact string

    Hello, i have a small problem searching an exact String. i want to make a substitution via sub("old","new") or gsub("old","new"). But i only want to the word "old" to be replaced. Example : old older gold after using my awk-script i always get new newer gnew but what i want is new older...

Part and Inventory Search

Back
Top