#!/usr/bin/env rc if(ping -c1 8.8.8.8 >/dev/null >[2=1]) { if(! pgrep newsboat >/dev/null) { newsboat -x reload >/dev/null >[2=1] } }