1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2024-11-26 10:27:32 +02:00
eda-tools/b2/SUBST
2012-05-20 20:33:14 -03:00

26 lines
287 B
Plaintext

REF=R[0-9]* {
T=R
VAL=.* { R=$$#R }
TOL = 5%
FN=.*% { TOL=${$#%} }
break REF
// end break again
}
/*
pattern: () * ? .
subst: $1 ... $field
substring:
$1, $2, ...
variable:
$foo, ...
with curly braces:
${foo}, ...
unit conversion:
$foo#V
${1#R}
input variable:
$$
*/