local-bin/apsalar/wtfis

7 lines
133 B
Bash
Executable File

#!/bin/sh
emerge --search "$1" --fuzzy-search n \
| grep "Description" \
| head -1 \
| cut -d":" -f2 \
| awk '{$1=$1;print}'