Article 58CBP Sample /proc/version for kernel 5.8

Sample /proc/version for kernel 5.8

by
h2-1
from LinuxQuestions.org on (#58CBP)
I'm trying to sort out the recent changes to /proc/version syntax introduced in 5.8 kernel, after years of using the easy to read and parse "gcc version [version number] they've introduced nested parentheses, and other randomnesses that make predictable parsing of this gcc data harder than it should ever have been.

This is for the inxi -Sx feature, where it shows the compiler version of the running kernel.

Note that if you know about pinxi, pinxi has the latest fixes in it, but inxi will be broken for compiler data so the more variants from different distros I can see before introducing next inxi, the better.

In general, I only need to see a few samples from each 5.8 kernel running distro. I do NOT need to see pre 5.8 kernel /proc/version because those are all the same and don't require special treatments since the values were predictable and well done, until 5.8 came along.

Any cat /proc/version for 5.8 kernels appreciated, thanks. Or newer, if they are out yet, also good.

Note that inxi tests first for the original stable syntax, so if they ever revert this regression, it will 'just work' as expected.latest?d=yIl2AUoC8zA latest?i=tdkheQxHW1o:6iXVGyDLxG8:F7zBnMy latest?i=tdkheQxHW1o:6iXVGyDLxG8:V_sGLiP latest?d=qj6IDK7rITs latest?i=tdkheQxHW1o:6iXVGyDLxG8:gIN9vFwtdkheQxHW1o
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments