7 lines
176 B
Plaintext
7 lines
176 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
curl -s "https://github.com/strukturag/libheif/releases" \
|
||
|
| awk '/h2 class=.sr-only/ {$0=gensub(/.*>v(.+)<.*/,"\\1",1); print;}' \
|
||
|
| head -n 1 \
|
||
|
| cut -d" " -f1
|