fork download
  1. #!/bin/bash
  2. s='<html><body>You are being <a href="https://g...content-available-to-author-only...b.com/mozilla/geckodriver/releases/tag/v0.26.0">redirected</a>.</body></html>'
  3. sed -n 's~.*/tag/\([^"]*\).*~\1~p' <<< "$s"
Success #stdin #stdout 0s 4508KB
stdin
Standard input is empty
stdout
v0.26.0