shithub: rc

Download patch

ref: f482d144e558f56425ad1c4a46836142eafde51c
parent: 286ada03460f6a8cf1b1651eb6a47fa089cd0abe
author: qwx <qwx@sciops.net>
date: Thu Sep 30 15:38:12 EDT 2021

add yd: download a video instead of just showing it

--- /dev/null
+++ b/bin/yd
@@ -1,0 +1,7 @@
+#!/bin/rc
+# easiest way, low quality
+if(! ~ $#* 1){
+	echo usage $0 videoid
+	exit usage
+}
+nvi -V 18 -v $1.mp4 $"1