$ dmesg|sort|uniq -D -c
uniq: printing all duplicated lines and repeat counts is meaningless
Try `uniq --help' for more information.
Meaningless for you, but just what I want:
$ dmesg|sort|uniq -D|uniq -c
5 EXT3-fs: mounted filesystem with ordered data mode.
2 PCI: Hardcoded IRQ 14 for device 0000:00:11.1
So better say
uniq: please use uniq -D|uniq -c for now until we figure this one out
_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils