执行 cat /etc/os-release
命令,获取以下内容,
如何用 sh 脚本,获取 VERSION_ID 对应值 3.10.1
并截取,最终获取 3.10 这个值
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.10.1
PRETTY_NAME="Alpine Linux v3.10"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"