{ idx = $1 SUBSEP $2 SUBSEP $5 SUBSEP $6 } NR==FNR { fnew[ idx ] = $0; next } { if ( !(idx in fnew) ) $0 = $0 ORS fold[idx] } 1