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: qusan
  • Order by date
  1. qusan

    replacing characters with awk/substr

    Would using awk's substr in this manner be feasible? I am trying to replace characters 35-42 with zeroes for every record in a file. runid = substr($0,35,8) zeroed ="00000000" runid=zeroed
  2. qusan

    Character Substitution with Awk or Sed

    I have a file with multiple records: 0287C04200302201511330000000133986589898989 160180 00000001xxxx_xxxx_020_xxxxx.dat I need to change characters 35-42 to zeros. Is there a substitution command to do this with awk or sed?

Part and Inventory Search

Back
Top