lsff.sh
Ausgabe des Shellsriptes lsff.sh
Release x86_64 ESR: 68.8.0esr Release x86_64: 76.0.1 Beta x86_64: 77.0b9 Nightly x86_64: 78.0a1 Release Android: 68.8.1 Beta Android: 68.7b1 FirefoxPreview Android: 5.0 FirefoxPreview Beta Android: 5.1-beta.2
- lsff.sh
#!/bin/bash # SOURCE_RELEASE_X86="http://archive.mozilla.org/pub/firefox/releases/" SOURCE_NIGHTLY_X86="http://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central-l10n/" SOURCE_RELEASE_ANDROID="http://ftp.mozilla.org/pub/mobile/releases/" SOURCE_BETA_ANDROID="http://ftp.mozilla.org/pub/mobile/candidates/" SOURCE_PREVIEW_ANDROID="https://github.com/mozilla-mobile/fenix/releases" # echo -n "Release x86_64 ESR: " curl -s $SOURCE_RELEASE_X86|html2text|awk '{print $2}'|cut -d"/" -f1|egrep ^[0-9]|sort -V|egrep esr$|tail -1 echo -n "Release x86_64: " curl -s $SOURCE_RELEASE_X86|html2text|awk '{print $2}'|cut -d"/" -f1|egrep ^[0-9]|sort -V|egrep -v [0-9]b[0-9]|egrep -v esr|tail -1 echo -n "Beta x86_64: " curl -s $SOURCE_RELEASE_X86|html2text|awk '{print $2}'|cut -d"/" -f1|egrep ^[0-9]|sort -V|tail -1 echo -n "Nightly x86_64: " curl -s $SOURCE_NIGHTLY_X86|html2text|awk '{print $2}'|egrep "de.linux-x86_64.tar.bz2"$|tail -1|cut -d"-" -f2-3|cut -d"." -f1-2 echo -n "Release Android: " curl -s $SOURCE_RELEASE_ANDROID|html2text|awk '{print $2}'|cut -d"/" -f1|egrep ^[0-9]|sort -V|tail -1 echo -n "Beta Android: " curl -s $SOURCE_BETA_ANDROID|html2text|awk '{print $2}'|cut -d"/" -f1|egrep [0-9]b[0-9]-.*|sort -V|cut -d"-" -f1|tail -1 echo -n "FirefoxPreview Android: " curl -s $SOURCE_PREVIEW_ANDROID|html2text|egrep firefox_preview_v.*_arm.apk|cut -d" " -f1|cut -d"_" -f4|sed 's/v//g'|head -1 echo -n "FirefoxPreview Beta Android: " curl -s $SOURCE_PREVIEW_ANDROID|html2text|egrep "Firefox_Preview_.*-beta.?"|sort -V|tail -1|cut -d"_" -f3|sed 's/v//g' echo ""
lsff.sh.txt · Zuletzt geändert: 2020/05/27 12:19 von dwadmin