6 lines
142 B
Bash
6 lines
142 B
Bash
#!/bin/bash
|
|
|
|
VERSION=$(curl -s https://www.kernel.org/ | grep -m1 -A1 'longterm:' | grep -oP '(?<=strong>).*(?=</strong.*)')
|
|
|
|
echo "$VERSION"
|