summaryrefslogtreecommitdiff
path: root/formatter.sh
diff options
context:
space:
mode:
authorb4rkod <lllillilll@protonmail.com>2024-05-15 23:50:36 +0300
committerb4rkod <lllillilll@protonmail.com>2024-05-15 23:50:36 +0300
commit0e97f4e9e7672743bc9b04a2efa0b68d7f9bfa14 (patch)
tree49c7f49b5d04ceed2e94c3aa8945a5d2cf3dc64a /formatter.sh
parent3624bc6c786a438c429615589225da9e121e42c9 (diff)
redid everything, not at the documentation stage
Diffstat (limited to 'formatter.sh')
-rwxr-xr-xformatter.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/formatter.sh b/formatter.sh
index d498b28..c5fa98e 100755
--- a/formatter.sh
+++ b/formatter.sh
@@ -1,8 +1,8 @@
#!/bin/sh
. $HOME/www/sh/basics.sh
-header $(basename $1|sed s/txt$/html/)
+header $(basename $1)
printf "<p> date : $(stat -c '%w' $1| cut -d " " -f 1)\n "
-sed "/\/\/\//s/$/<\/p>/;/\/\/\//s/\/\/\//<p> /" $1
+cat $1
footer