1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-12-23 14:19:53 +02:00

genex/sym2xps: only add question mark to F0, not to all fields

This commit is contained in:
Werner Almesberger 2012-04-12 18:09:55 -03:00
parent 208d29b4cc
commit 1e5dbb4133

View File

@ -57,7 +57,7 @@ X=6000
Y=4000 Y=4000
sed "\@^DEF $sym @,/^ENDDEF/p;d" "$lib" | 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, print substr($1, 1, 1), substr($1, 2, 1), $2,
$6, '$X'+$3, '$Y'+$4, $5, " 0000", $8, $9 }' >"$tmp"/fx.tmp $6, '$X'+$3, '$Y'+$4, $5, " 0000", $8, $9 }' >"$tmp"/fx.tmp
#F field_number "text" orientation posX posY size Flags (see below) #F field_number "text" orientation posX posY size Flags (see below)