6 lines
157 B
Plaintext
6 lines
157 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
curl -s "https://github.com/Cloudef/bemenu/releases" \
|
||
|
| awk '/<h2 class=.sr-only/ {$0=gensub(/<h2 .*>(.+)<.*/,"\\1",1); print;}' \
|
||
|
| head -n 1
|