dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit 0f4e8645b7a77bd39ef736501553876532abf8d6
parent 3e076c42271fb8beb4de39c045fd501adaba4e00
Author: hhvn <dev@hhvn.uk>
Date:   Sun,  2 Jan 2022 03:26:40 +0000

.s/b/ytfeed .s/b/ytmeta .s/b/ytsrch2 -- .scripts/bin/yt

Diffstat:
R.scripts/bin/ytfeed -> .scripts/bin/yt/feed | 0
R.scripts/bin/ytmeta -> .scripts/bin/yt/meta | 0
R.scripts/bin/ytsrch2 -> .scripts/bin/yt/srch2 | 0
A.scripts/bin/yt/srch2-sort | 3+++
4 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/.scripts/bin/ytfeed b/.scripts/bin/yt/feed diff --git a/.scripts/bin/ytmeta b/.scripts/bin/yt/meta diff --git a/.scripts/bin/ytsrch2 b/.scripts/bin/yt/srch2 diff --git a/.scripts/bin/yt/srch2-sort b/.scripts/bin/yt/srch2-sort @@ -0,0 +1,3 @@ +#!/bin/sh + +ytsrch2 $@ | tr '\n' '\t' | sed -E 's/\t\t/\n/g;s/^\t//' | tr -d '!' | sort | tr '\t' '\n' | awk '$1 == "Title:" {print ""; print $0}; $1 != "Title:"' | less