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 Mike Lewis 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: Cynki
  • Order by date
  1. Cynki

    something wrong in the AWK code...

    Ok, I work with thats matter but I have different problem: if ( $1=="FNR" ) getline else exit; but the FNR is a string in the opened file not as a variable in this case. any ideas? :)
  2. Cynki

    something wrong in the AWK code...

    Hi, I trying to find a bug in the code below: FILE: A00|1|1|1|1|1|1|1|FI|0 A01|0|1|1 FPV|1 FPV|2 FPV|3 FSV|1 FPT|2 HNH|0 AWK: BEGIN {FS="|"} { if ( $1=="A00" ){ if ( $9=="FI" ) { getline if ( $1=="A01" ) {getline; printf "A01 " FNR "\n"} else {printf...

Part and Inventory Search

Back
Top