From 4aa42e63cbcdb8b71e3cf0f2aa3ff271a637d6ab Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Mon, 31 Oct 2022 22:27:18 +0300 Subject: [PATCH] Link generators --- link-for/bin/link-for-blog | 3 +++ link-for/bin/link-for-github-release | 6 ++++++ link-for/bin/link-for-rfc | 3 +++ link-for/bin/link-for-youtube | 3 +++ 4 files changed, 15 insertions(+) create mode 100755 link-for/bin/link-for-blog create mode 100755 link-for/bin/link-for-github-release create mode 100755 link-for/bin/link-for-rfc create mode 100755 link-for/bin/link-for-youtube diff --git a/link-for/bin/link-for-blog b/link-for/bin/link-for-blog new file mode 100755 index 0000000..75248d8 --- /dev/null +++ b/link-for/bin/link-for-blog @@ -0,0 +1,3 @@ +#!/bin/sh + +echo http://blog.stargrave.org/russian/$1 diff --git a/link-for/bin/link-for-github-release b/link-for/bin/link-for-github-release new file mode 100755 index 0000000..9d32578 --- /dev/null +++ b/link-for/bin/link-for-github-release @@ -0,0 +1,6 @@ +#!/bin/sh + +account=$1 +project=$2 +tag=$3 +echo https://github.com/$account/$project/releases/download/$tag/$project-${tag#v}.tar.gz diff --git a/link-for/bin/link-for-rfc b/link-for/bin/link-for-rfc new file mode 100755 index 0000000..36b1c69 --- /dev/null +++ b/link-for/bin/link-for-rfc @@ -0,0 +1,3 @@ +#!/bin/sh + +echo https://datatracker.ietf.org/doc/html/rfc$1 diff --git a/link-for/bin/link-for-youtube b/link-for/bin/link-for-youtube new file mode 100755 index 0000000..df29307 --- /dev/null +++ b/link-for/bin/link-for-youtube @@ -0,0 +1,3 @@ +#!/bin/sh + +echo https://www.youtube.com/watch?v=$1 -- 2.44.0