You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

unreadrss 165B

1234
  1. #!/bin/bash
  2. UNREAD=$(echo 'select count(*) from rss_item where unread = 1;' | sqlite3 ~/.newsbeuter/cache.db)
  3. if [ $UNREAD -eq 0 ] ; then UNREAD="-";fi
  4. echo $UNREAD