home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Plus SuperCD (UK) 1999 May
/
pcp151c.iso
/
misc
/
src
/
install
/
pci-probing
/
pcidevinfo
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1998-01-06
|
254 b
|
22 lines
#!/bin/bash
#
# output devinfo entries from pci.c
#
#
awk '
BEGIN { foundit = 0 }
# now read in lines till we hit the last line
{
if (foundit && $0 ~ /\;/) exit
if (foundit) print $0
if ($0 ~ /struct pci_dev_info dev_info/) foundit = 1
}
END { }
'