We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RegEx: /<td align="left">(?'versions'\d+\.\d+\.\d+\.\d+)<\/td>/g
/<td align="left">(?'versions'\d+\.\d+\.\d+\.\d+)<\/td>/g
Command: cat index.html | grep -m 16 -i -o -P -e '<td align="left">\d+\.\d+\.\d+\.\d+<\/td>' | grep -o -P -e '\d+\.\d+\.\d+\.\d+'
cat index.html | grep -m 16 -i -o -P -e '<td align="left">\d+\.\d+\.\d+\.\d+<\/td>' | grep -o -P -e '\d+\.\d+\.\d+\.\d+'
Extended command: cat index.html | grep -m 16 -i -o -P -e '<td align="left">\d+\.\d+\.\d+\.\d+<\/td>' | grep -o -P -e '\d+\.\d+\.\d+\.\d+' | sort -r -V | uniq -c | grep -m 1 -i "4 " | grep -o -P -e '\d+\.\d+\.\d+\.\d+'
cat index.html | grep -m 16 -i -o -P -e '<td align="left">\d+\.\d+\.\d+\.\d+<\/td>' | grep -o -P -e '\d+\.\d+\.\d+\.\d+' | sort -r -V | uniq -c | grep -m 1 -i "4 " | grep -o -P -e '\d+\.\d+\.\d+\.\d+'
The text was updated successfully, but these errors were encountered:
This should get the newest version from any file more generically: cat file.txt | grep -o -P -e '\d+\.\d+\.\d+\.\d+' | sort -r -V | grep -m 1 '.'
cat file.txt | grep -o -P -e '\d+\.\d+\.\d+\.\d+' | sort -r -V | grep -m 1 '.'
Sorry, something went wrong.
bigfix_newest_version.sh currently only supports versions in the format 0.0.0.0 but could be adjusted to work with other formats as well.
bigfix_newest_version.sh
Update bigfix_newest_version.sh
7117068
No branches or pull requests
References:
RegEx:
/<td align="left">(?'versions'\d+\.\d+\.\d+\.\d+)<\/td>/g
Command:
cat index.html | grep -m 16 -i -o -P -e '<td align="left">\d+\.\d+\.\d+\.\d+<\/td>' | grep -o -P -e '\d+\.\d+\.\d+\.\d+'
Extended command:
cat index.html | grep -m 16 -i -o -P -e '<td align="left">\d+\.\d+\.\d+\.\d+<\/td>' | grep -o -P -e '\d+\.\d+\.\d+\.\d+' | sort -r -V | uniq -c | grep -m 1 -i "4 " | grep -o -P -e '\d+\.\d+\.\d+\.\d+'
The text was updated successfully, but these errors were encountered: