Browse Source

use: get USE flag description

master
Maxim Likhachev 5 years ago
parent
commit
399840bcf1
  1. 1
      README.md
  2. 10
      use

1
README.md

@ -74,6 +74,7 @@ will create the symbolic link for each script in the \<path> directory. @@ -74,6 +74,7 @@ will create the symbolic link for each script in the \<path> 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

10
use

@ -0,0 +1,10 @@ @@ -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}'
Loading…
Cancel
Save