From fe4bb32e6c615df63746008c8c19afb3307682c6 Mon Sep 17 00:00:00 2001 From: Vlad Doster Date: Tue, 7 Apr 2020 00:53:19 -0500 Subject: [PATCH] Delete rssadd --- .local/bin/rssadd | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100755 .local/bin/rssadd diff --git a/.local/bin/rssadd b/.local/bin/rssadd deleted file mode 100755 index 4ef31a4c..00000000 --- a/.local/bin/rssadd +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -! echo "$1" | grep "https*://\S\+\.[A-Za-z]\+\S*" >/dev/null && - notify-send "That doesn't look like a full URL." && exit -RSSFILE="$HOME/.config/newsboat/urls" -if awk '{print $1}' "$RSSFILE" | grep "^$1$" >/dev/null; then - notify-send "You already have this RSS feed." -else - echo "$1" >> "$RSSFILE" && notify-send "RSS feed added." -fi