1
0

spring cleaning 1

This commit is contained in:
dtb
2023-12-31 10:46:23 -07:00
parent ea31d1221c
commit f501a77764
116 changed files with 4712 additions and 8 deletions

18
Wip/rss/pig_stow Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/sh
set -e
while str isvalue "$1"; do
pig_fetch "$1" | xq -x "$(
printf '.
* { feed: { pig: {
feed_url: "%b",
pet_sound: "oink",
stow_date: "%b",
version: "0"
} } }' "$1" "$(date '+%Y-%m-%dT%T')"\
| tr -d '[:space:]' \
)" >"$(pig_pen)/$(pig_name "$1")"
shift
done