missing NULL terminator in set_config_x
[geda-gaf.git] / gnetlist-legacy / scripts / unannotate.sh
blobdfa78fb4207810fe05b3c88bf53a47e041f47676
1 #!/bin/sh
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
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