Search Results

Search: Posts Made By: Prashant298
1,250
Posted By Scrutinizer
Shell variables are not expanded within single...
Shell variables are not expanded within single quotes.

Try something like this:
zcat "$1" | awk -F "$2" -v nrfields="$temp_var" 'NF==nrfields{print NR,$0}'
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 02:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy