9 lines
223 B
Bash
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"
|