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 bkrike 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: darkmuse
  • Content: Threads
  • Order by date
  1. darkmuse

    AWK multiple variable assignment and search

    I have this current script, that a few of you helped me get working a few weeks ago. Thanks everybody. Now I need to modify it to be a little more flexible. BEGIN { num = 0 while ((getline < &quot;dc.users&quot;) > 0) { nam[num] = $0 num++ } } { for (j=0;j<num;j++) {...
  2. darkmuse

    AWK search and replace

    Hello all, I'm new to this site and have what I hope is a simple AWK problem... I need to search a file and add text to a line if the criteria is correct. If I have the following file: bob Password = &quot;password&quot; Service-Type=Framed-User Session-Timeout=9000...

Part and Inventory Search

Back
Top