Updated the shipped documentation from the online wiki
[geda-gaf/peter-b.git] / gnetlist / scripts / bom_xref.sh
blob75de459aeec7e77bae6c6860da858881307e85c2
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/{}'