summaryrefslogtreecommitdiff
path: root/copy_to_html.sh
diff options
context:
space:
mode:
authorb4rkod <void@Asena.localdomain>2023-11-12 23:08:00 +0300
committerb4rkod <void@Asena.localdomain>2023-11-12 23:08:00 +0300
commit19bd1af357e9c16a3b666cd860a1b8b17330c652 (patch)
tree11febbef3bb410346ff5dd5fc5706cfbad697348 /copy_to_html.sh
git started
Diffstat (limited to 'copy_to_html.sh')
-rwxr-xr-xcopy_to_html.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/copy_to_html.sh b/copy_to_html.sh
new file mode 100755
index 0000000..fa4eca2
--- /dev/null
+++ b/copy_to_html.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+for F in $(ls); do
+FILE=$(basename $F|sed s/.txt/.html/)
+echo $FILE
+$HOMe/www/sh/formatter.sh $F >| "$HOME/www/source/$FILE"
+done
+