commit 3359e232531311ab527083a7591dab1184357aea parent 24e00d5acad0950b705b362ac1612453ee84532b Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Fri, 24 Jul 2020 11:35:22 +0200 Remove unused script Diffstat:
D | .local/bin/addfeed | | | 17 | ----------------- |
1 file changed, 0 insertions(+), 17 deletions(-)
diff --git a/.local/bin/addfeed b/.local/bin/addfeed @@ -1,17 +0,0 @@ -#!/bin/sh -set -e -sfeedrc="$HOME/.sfeed/sfeedrc" - -if [ $# -ne 2 ]; then - printf 'usage: %s feedname url\n' "${0##*/}" >&2 - exit 1 -fi - -# use temp file because no write permission in sfeedrc dir -temp="$(mktemp)" -new="$(printf " feed '%s' '%s'\n" "$1" "$2")" -sed "/}/i \\ -$new -" "$sfeedrc" > "$temp" -cat "$temp" > "$sfeedrc" -rm -f "$temp"