cruxports/nyxt/.watch

6 lines
156 B
Bash
Executable File

#!/bin/sh
lynx -dump "https://nyxt-browser.com/articles/release" \
| awk '/ Nyxt [0-9]+/ {$0=gensub(/(\*|\s)*Nyxt (.+)/,"\\2",1); print;}' \
| head -n 1