<strong>
タグでラップされた URL を抽出する必要があります。単純な正規表現ですが、シェルスクリプトでそれを行う方法がわかりません。次に例を示します。
line="<strong>http://www.example.com/index.php</strong>"
url=$(echo $line | sed -n '/strong>(http:\/\/.+)<\/strong/p')
$url
変数に「http://www.example.com/index.php」が必要です。
ビジーボックスを使用。