From d6b68aa7abcfaefa565944f6f81e0d588b9be57c Mon Sep 17 00:00:00 2001 From: joelazar Date: Fri, 11 Aug 2023 16:04:35 +0200 Subject: [PATCH] :technologist: add script for cht --- private_dot_local/bin/executable_cht | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 private_dot_local/bin/executable_cht diff --git a/private_dot_local/bin/executable_cht b/private_dot_local/bin/executable_cht new file mode 100644 index 00000000..e8494588 --- /dev/null +++ b/private_dot_local/bin/executable_cht @@ -0,0 +1,7 @@ +#!/bin/bash + +# take all arguments and join them with '+' signs + +cmd=$(echo "$*" | tr ' ' '+') + +curl -s "cht.sh/$cmd" -- 2.51.2