grepの正規表現に合う文字列を抜き出して、cutで行番号を選択するコマンド created-2025/10/05 updated-2025/10/05 grep -n -m 1 “<figure[ -z]*” readme_test7.md | cut -d: -f1