about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-05-30 14:23:21 -0500
committerCase Duckworth2022-05-30 14:23:21 -0500
commit4bb8e0a4d5742ef2cd288faf2bff24cdc1a28af7 (patch)
tree8cebb8db43afeb0b3d789f0c9b5a178c2075a14b
parentUse cat instead of print (diff)
downloadhat-trick-4bb8e0a4d5742ef2cd288faf2bff24cdc1a28af7.tar.gz
hat-trick-4bb8e0a4d5742ef2cd288faf2bff24cdc1a28af7.zip
Remove useless use of cat
I'm embarrassed..

^(>.<)^
-rw-r--r--tmpl.feed.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmpl.feed.xml b/tmpl.feed.xml index 6c9026f..db40258 100644 --- a/tmpl.feed.xml +++ b/tmpl.feed.xml
@@ -9,7 +9,7 @@
9 <rights>Copyright (C) 2022 CC-BY-SA Case Duckworth</rights> 9 <rights>Copyright (C) 2022 CC-BY-SA Case Duckworth</rights>
10 <updated>$(date -u +%FT%TZ)</updated> 10 <updated>$(date -u +%FT%TZ)</updated>
11 11
12 $(cat .tmp/index-list | sort -r | while read line; do 12 $(sort -r .tmp/index-list | while read line; do
13 entry_date="$(echo "$line" | sed 's/.*<li><!-- \(.*\) -->.*/\1/')" 13 entry_date="$(echo "$line" | sed 's/.*<li><!-- \(.*\) -->.*/\1/')"
14 entry_title="$(echo "$line" | sed 's#.*<a href=".*">\(.*\)</a>.*#\1#')" 14 entry_title="$(echo "$line" | sed 's#.*<a href=".*">\(.*\)</a>.*#\1#')"
15 entry_html="$(echo "$line" | sed 's#.*<a href="\(.*\)">.*#\1#')" 15 entry_html="$(echo "$line" | sed 's#.*<a href="\(.*\)">.*#\1#')"