# 1 5.000 5.000 0.000 1 6.000 0 (tac $* | awk ' BEGIN { split("a b c d e f g h ", letter) number = "^[-+]?([0-9]+[.]?[0-9]*|[.][0-9]+)" \ "([eE][-+]?[0-9]+)?$" printf "bottom ticks -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20\n" printf "left ticks -20 -19 -18 -17 -16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20\n" } /iteration number/ { itnum = $3 } /SPECIAL OUTPUT/ { flag = 1 next } flag == 0 { next } /Kconf_index/ { exit } $1 == "label" { print next } $1 == "label1" { print next } $1 == "*" { print $4 "\t" $6 "\t" "*" next } $1 ~ number { print $6 "\t" $3 "\t" $7 if (itnum > 0) print $6 "\t" $2 "\t" letter[$7 + 1] next }' ) 2>/dev/null