Have the default options in grep changed in Feisty Fawn?

Asked by David Bott

In previous versions of Ubuntu (Edgy, Dapper, Breezy, etc.) whenever I issued the following command 'sudo lshw | grep network' I would get output similar to the following:

dbott@edgy:~$ sudo lshw | grep network
           *-network
                description: Ethernet interface
                product: RTL8139 Ethernet
                vendor: D-Link System Inc
                physical id: b
                bus info: pci@02:0b.0
                logical name: eth0
                version: 10
                serial: 00:50:ba:c0:a7:55
                size: 100MB/s
                capacity: 100MB/s
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=full ip=192.168.1.106 latency=32 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII speed=100MB/s
                resources: ioport:b000-b0ff iomemory:be800000-be8000ff irq:16

Essentially, in previous versions it used to give me everything under the category of 'network'.

For some reason, when I try it in Feisty, it is not returning anything after 'network':
dbott@feisty:~$ sudo lshw | grep network
           *-network

Adding the -A 15 gives me the necessary details:

dbott@feisty:~$ sudo lshw | grep -A 15 network
           *-network
                description: Ethernet interface
                product: RTL8139 Ethernet
                vendor: D-Link System Inc
                physical id: b
                bus info: pci@02:0b.0
                logical name: eth0
                version: 10
                serial: 00:50:ba:c0:a7:55
                size: 100MB/s
                capacity: 100MB/s
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=full ip=192.168.1.106 latency=32 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII speed=100MB/s
                resources: ioport:b000-b0ff iomemory:be800000-be8000ff irq:16

Did something change?

Thanks,
Dave

Question information

Language:
English Edit question
Status:
Solved
For:
grep Edit question
Assignee:
No assignee Edit question
Solved by:
David Bott
Solved:
Last query:
Last reply:
Revision history for this message
Best David Bott (david-bott) said :
#1

Nothing changed... user brain cramp.

I was actually using a different command, not grep:

dbott@feisty:~$ sudo lshw -C network
           *-network
                description: Ethernet interface
                product: RTL8139 Ethernet
                vendor: D-Link System Inc
                physical id: b
                bus info: pci@02:0b.0
                logical name: eth0
                version: 10
                serial: 00:50:ba:c0:a7:55
                size: 100MB/s
                capacity: 100MB/s
                width: 32 bits
                clock: 33MHz
                capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=full ip=192.168.1.106 latency=32 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII speed=100MB/s
                resources: ioport:b000-b0ff iomemory:be800000-be8000ff irq:16

Sorry for the trouble.

-Dave