Updated copyright text/header in most source files.
[geda-gaf/peter-b.git] / gnetlist / scripts / unannotate.sh
blob1301927452e306c936c2030ee843796be6b5872a
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