1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/sh if [ -z "${1}" ]; then printf 'usage: %s [version]' "${0##*/}" >&2 exit 1 fi cat <<EOF NAME=Gentoo ID=gentoo PRETTY_NAME="Gentoo Linux" ANSI_COLOR="1;32" HOME_URL="https://www.gentoo.org/" SUPPORT_URL="https://www.gentoo.org/support/" BUG_REPORT_URL="https://bugs.gentoo.org/" VERSION_ID="${1}" EOF