diff --git a/genex/sym2xps b/genex/sym2xps index 955399d..13a2c82 100755 --- a/genex/sym2xps +++ b/genex/sym2xps @@ -57,7 +57,7 @@ X=6000 Y=4000 sed "\@^DEF $sym @,/^ENDDEF/p;d" "$lib" | - awk '/^F. / { sub(/"$/, "?\"", $2); + awk '/^F. / { if ($1 == "F0") sub(/"$/, "?\"", $2); print substr($1, 1, 1), substr($1, 2, 1), $2, $6, '$X'+$3, '$Y'+$4, $5, " 0000", $8, $9 }' >"$tmp"/fx.tmp #F field_number "text" orientation posX posY size Flags (see below)