1#!/bin/sh
2# ha ha
3
4if [ -z "$1" ] ; then
5    echo "usage $0 geda-bom  # output on stdout"
6    exit -1
7fi
8cat $1 | sort -k1,1 |\
9@AWK@ '!/device/{printf("%-5s %-20s %-20s %-20s\n", toupper($1), toupper($2), toupper($3), toupper($4));} /device/{}'
10
11