4 lines
247 B
Bash
Executable File
4 lines
247 B
Bash
Executable File
#!/bin/bash
|
|
tag=$(curl https://github.com/ahmedkhlief/APT-Hunter/tags.atom | grep -Pio 'link.*' | grep -Pio '(?<=href=")[^"]+' | grep tag | head -n1 | grep -Pio '(?<=tag/).*$' | tr -dc '[[:alnum:]]' | tr '[[:upper:]]' '[[:lower:]]')
|
|
echo "${tag}"
|