Update 2024-02-14 07:51 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2024-02-14 07:54:31 +01:00
parent b55e6a3616
commit 9624895938
373 changed files with 19074 additions and 3045 deletions

22
.bin/OLD/pview Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/sh
set -e
CLIP="$(xclip -quiet -o | col -b | head -n 1 | sed 's/-[0-9].*//g' | tr -d ':;[]')"
if [ -z "$CLIP" ]
then
echo "pview: no data"
exit 1
fi
if [ ! -d "/usr/ports/$CLIP" ]
then
echo "pview: invalid data \"$CLIP\""
exit 1
fi
cd "/usr/ports/$CLIP"
P=$(make show=PKGNAME)
R=$(make show=REVISION)
echo "PKG: $P"
echo "REV: $R"