From a6ebcf95f06fd4a1ad612760d05aeb39082d0d91 Mon Sep 17 00:00:00 2001 From: Siina Mashek Date: Sat, 11 Mar 2023 22:13:44 +0200 Subject: [PATCH] janky little lookup script --- apsalar/wtfis | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 apsalar/wtfis diff --git a/apsalar/wtfis b/apsalar/wtfis new file mode 100755 index 0000000..1cd562f --- /dev/null +++ b/apsalar/wtfis @@ -0,0 +1,6 @@ +#!/bin/sh +emerge --search "$1" --fuzzy-search n \ + | grep "Description" \ + | head -1 \ + | cut -d":" -f2 \ + | awk '{$1=$1;print}'