2013-03-15 23:20:04 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2013-05-31 19:01:32 +02:00
|
|
|
## This script is used by newsbeuter to store starred item.
|
|
|
|
|
2013-03-15 23:20:04 +01:00
|
|
|
[ -z "$XDG_CONFIG_HOME" ] && XDG_CONFIG_HOME="$HOME/.config"
|
|
|
|
|
|
|
|
url="$1"
|
|
|
|
title="$2"
|
|
|
|
description="$3"
|
|
|
|
SEP=" "
|
|
|
|
OUTPUT="$XDG_CONFIG_HOME/newsbeuter/news_starred"
|
|
|
|
|
2016-06-23 23:18:36 +02:00
|
|
|
echo "${url}$SEP${title}$SEP${description}" >> "$OUTPUT"
|