egrep -ho 'url.*?"(http.*?)"' *.txt | awk '{print $3}' | sed 's/"//g'
More than 1 year has passed since last update.
ファイルの中のurl = "https://example.com"の""の中のURLだけ取得したいときのbashワンライナー
Last updated at Posted at 2022-10-03
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme