How do I get rid of unwanted lines without grep -v in BASH
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
dmidecode | awk '/Socket Designation:|Version:|Status:/' | sed '0~3G'
well, according to what OP is desiring, getting the exact "Version:" and "Status:" from the "processor information" block should be the way to go. therefore a little more coding to find where the "processor information" block is, then get the relevant "Version" and "Status" . here's one extract from my end under Bios information
Release Date: 10/14/06
Runtime Size: 99264 bytes
ROM Size: 1024 kB