Messages in this thread | ![/](/images/icornerl.gif) | | Date | Sun, 12 Aug 2018 12:51:46 +0200 | From | Martin Mares <> | Subject | Re: lspci: Display path to device |
| |
Hello!
> I agree it's more intuitive, but it's not the format that Logan's code > is expecting, so it's not as useful for my purposes. How about this? > > $ ./lspci -PF tests/fujitsu-p8010.lspci -s 1d:00.0 > 00:1e.0/03.0/00.0 Network controller: 3Com Corporation 3com 3CRWE154G72 [Office Connect Wireless LAN Adapter] (rev 01) > $ ./lspci -PPF tests/fujitsu-p8010.lspci -s 1d:00.0 > 00:1e.0/1c:03.0/1d:00.0 Network controller: 3Com Corporation 3com 3CRWE154G72 [Office Connect Wireless LAN Adapter] (rev 01)
Yes, this looks fine.
It is merged to master now and I will push a new release out of the door soon.
Thanks! Martin
| ![\](/images/icornerr.gif) |