Files
linux-stable/check-version.sh
T
2025-05-11 18:51:35 +03:00

6 lines
140 B
Bash

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