aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xblogrss15
-rwxr-xr-xblogsend2
-rwxr-xr-xblogsitemap2
-rwxr-xr-xblogthis2
4 files changed, 4 insertions, 17 deletions
diff --git a/blogrss b/blogrss
index 5719ed4..da84d0f 100755
--- a/blogrss
+++ b/blogrss
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
link=https://wittamore.com/articles/2025
description='Ramblings from Brittany, France'
@@ -7,19 +7,6 @@ feedname=/home/philip/web/rss.xml
postDir=/home/philip/web/articles/2025
updated=$(date --iso-8601=ns)
-# correct file date to match blog post date
-#cd $postDir
-#postArray=( $(ls *.html) )
-#for posts in "${postArray[@]}"; do
-# post=$posts
-# postdate=$(grep -o '>.*</h5>' $post | sed 's/\(>\|<\/h5>\)//g')
-# #[[CC]YY]MMDDhhmm[.ss]
-# postdate="${postdate//-}0000"
-# echo Date=$postdate
-# echo Item=$post
-# touch -a -m -t $postdate $post
-#done
-
# Build RSS header & footer
header () {
echo "<?xml version='1.0' encoding='UTF-8' ?>
diff --git a/blogsend b/blogsend
index 18b10a5..7d5bc81 100755
--- a/blogsend
+++ b/blogsend
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
# 2025-03-29 15:36:12
# blogsend : scp blog files to web server
diff --git a/blogsitemap b/blogsitemap
index bf80013..15c6a8d 100755
--- a/blogsitemap
+++ b/blogsitemap
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
cd /home/philip/web
diff --git a/blogthis b/blogthis
index 9ad0e72..7a0fab4 100755
--- a/blogthis
+++ b/blogthis
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# create text, assemble html file, add to articles