mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-12-23 10:04:36 +02:00
genex/sym2xps: only add question mark to F0, not to all fields
This commit is contained in:
parent
208d29b4cc
commit
1e5dbb4133
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user