4 ms·
Would anyone be able to approach this, without knowledge of /proc/cpuinfo, and understand what `$2` refers to? > Regex should not be the first hammer you reach
by zamalek 6y ago
Would anyone be able to approach this, without knowledge of /proc/cpuinfo, and understand what `$2` refers to?
> Regex should not be the first hammer you reach for, because it's a scalpel.
You used a regex tool: grep.
- jandrese 6y agoIt's plaintext, you could just look at it. That's the beauty of text based systems.