repo.or.cz
/
geda-gaf
/
whiteaudio.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
refdes_renum: warn of possible number clash with non-conforming values
[geda-gaf/whiteaudio.git]
/
gnetlist
/
scripts
/
bom_xref.sh.in
blob
4d3308fa76708b4ebebfbb43cb1dc9fcc8dee17e
1
#!/bin/sh
2
# ha ha
3
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/{}'
10