refdes_renum: warn of possible number clash with non-conforming values
[geda-gaf/whiteaudio.git] / gnetlist / scripts / bom_xref.sh.in
blob4d3308fa76708b4ebebfbb43cb1dc9fcc8dee17e
1 #!/bin/sh
2 # ha ha
4 if [ -z "$1" ] ; then
5 echo "usage $0 geda-bom # output on stdout"
6 exit -1
7 fi
8 cat $1 | sort -k1,1 |\
9 @AWK@ '!/device/{printf("%-5s %-20s %-20s %-20s\n", toupper($1), toupper($2), toupper($3), toupper($4));} /device/{}'