Commit: 92fc7eb4eaa6a73a84c4fa82901e17c5a16568a9 Parent: f39d5fb68b7b3878e8801f86424b19d81ffb9eaa Author: Randy Palamar Date: Thu, 22 Jul 2021 09:13:08 -0600 sfeed: replace cgit commits with plaintext patches Diffstat:
M | .config/sfeed/soft.sh | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.config/sfeed/soft.sh b/.config/sfeed/soft.sh @@ -6,7 +6,10 @@ feeds() { filter() { # replace github commits with their plaintext patches - sed 's:\( .*github.*/commit/[A-z0-9]*\):\1.patch:' + sed '/github/s:\(/commit/[A-z0-9]*\):\1.patch:' | + + # replace cgit commits with their plaintext patches + sed /cgit/s:/commit/:/patch/: } order() {