portable shebang

This commit is contained in:
Luke Smith
2019-08-18 12:28:11 -04:00
parent 6e67bd424d
commit 1bca65bfc2
31 changed files with 31 additions and 31 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env 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"