From 19bd1af357e9c16a3b666cd860a1b8b17330c652 Mon Sep 17 00:00:00 2001 From: b4rkod Date: Sun, 12 Nov 2023 23:08:00 +0300 Subject: git started --- add_to_index.sh | 7 +++++++ add_to_index_tr.sh | 6 ++++++ copy_to_html.sh | 8 ++++++++ formatter.sh | 5 +++++ 4 files changed, 26 insertions(+) create mode 100755 add_to_index.sh create mode 100755 add_to_index_tr.sh create mode 100755 copy_to_html.sh create mode 100755 formatter.sh diff --git a/add_to_index.sh b/add_to_index.sh new file mode 100755 index 0000000..dacdf35 --- /dev/null +++ b/add_to_index.sh @@ -0,0 +1,7 @@ +#!/bin/sh +cd $HOME/www/blogposts +FILE=$(basename $1|sed s/.txt/.html/) +echo $FILE +/home/void/www/sh/formatter.sh /home/void/www/blogposts/$(basename $1) >| "$HOME/www/source/$FILE" +sed -i "/\