repo.or.cz
/
geda-gaf.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
missing NULL terminator in set_config_x
[geda-gaf.git]
/
gnetlist-legacy
/
scripts
/
unannotate.sh
blob
dfa78fb4207810fe05b3c88bf53a47e041f47676
1
#!/bin/sh
2
3
if
[
-z
$1
];
then
4
echo
"No sch file indicated"
5
echo
"usage:"
6
echo
"annotate file"
7
echo
" file is generated by gschem"
8
exit
1
9
fi
10
11
cat
$1
|
sed
"/refdes=\([A-Za-z][A-Za-z]*\)[0-9][0-9]*/s//refdes=\1?/g"
>
$1
.tmp
12
#mv $1.tmp $1