diff --git a/README.md b/README.md index 570fc62..3559e4c 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,7 @@ will create the symbolic link for each script in the \ directory. - [defgroups](defgroups) adds a user to default system groups. - [passgen](passgen) creates the strong passwords. - [sync-date](sync-date) sets system time according to Google. +- [use](use) shows Gentoo USE flag's description. ## Development tools diff --git a/use b/use new file mode 100755 index 0000000..539c5d4 --- /dev/null +++ b/use @@ -0,0 +1,10 @@ +#!/bin/bash + +#Создан: Вт 25 фев 2020 18:24:10 +#Изменён: Вт 25 фев 2020 18:30:29 + +# Show Gentoo USE flag description + +curl -sq "https://packages.gentoo.org/useflags/${1?USAGE: $(basename "$0") [use flag]}" \ + | awk '/class="lead"/{getline; gsub(/^[ \t]+/, "", $0); print}' +