kernel version in a .conf file: what does ^ mean?

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

kernel version in a .conf file: what does ^ mean?

#1 Post by anikin »

Help needed with this line in a .conf file:

Code: Select all

BUILD_EXCLUSIVE_KERNEL="^4.13.*"
I understand the * part - any future minor versions like 4.13.10-01. I'm not sure about the preceding ^ part - does it mean any (earlier) kernel version, or exclusively kernel 4, like 4.9?

Thank you in advance.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#2 Post by musher0 »

The ^ Is regular expression code meaning: "the 4 has to be the first thing in the string".
Last edited by musher0 on Wed 01 Nov 2017, 19:22, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

anikin
Posts: 994
Joined: Thu 10 May 2012, 06:16

#3 Post by anikin »

Thanks a lot, musher0.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#4 Post by musher0 »

My pleasure.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

Post Reply