Files
binutils/check-version.sh
T
2025-08-16 23:02:30 +03:00

9 lines
223 B
Bash

#!/bin/bash
URL="https://www.gnu.org/software/binutils/"
# Get version number
VERSION=$(curl -s -L "$URL" | grep 'The latest release of GNU binutils is ' | grep -o -E '[0-9]{1,}.[0-9]{1,}(\.[0-9]{1,}|)')
echo "$VERSION"