💾 Archived View for ait.place › dot › bin › .local › bin › rssadd.txt captured on 2022-04-28 at 18:10:51.
⬅️ Previous capture (2021-12-03)
-=-=-=-=-=-=-
#!/bin/sh RSSFILE="${XDG_CONFIG_HOME:-$HOME/.config}/newsboat/urls" ! echo "$1" | grep "https*://\S\+\.[A-Za-z]\+\S*" >/dev/null && exit if awk '{print $1}' "$RSSFILE" | grep "^$1$" >/dev/null; then; else echo "$1" >> "$RSSFILE";fi