lagrange: updated watch script
This commit is contained in:
parent
7b1b6a8179
commit
569a34c201
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
curl -s "https://github.com/skyjake/lagrange/releases" \
|
lynx -dump "https://github.com/skyjake/lagrange/releases" \
|
||||||
| awk '/<h2 class=.sr-only/ {$0=gensub(/<h2 .*v(.+)<.*/,"\\1",1); print;}' \
|
| awk '/^v[0-9]+/ {$0=gensub(/^v([^\s]*).*/,"\\1",1); print;}' \
|
||||||
| head -n 1
|
| head -n 1
|
||||||
|
Loading…
Reference in New Issue
Block a user