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

    Pass an array variable to AWK

    I have a question about passing an array variable to AWK - is this possible? For example, I have an array defined in C shell: set array = ( 3 43 56 39 40 100 2 33 ) I want to invoke an AWK script that can use this array: awk -f script.awk -v SomeVar1=5 -v ArrayVar=$array < input.dat >...

Part and Inventory Search

Back
Top