Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
gawk を使用して 32 文字の 16 進文字列に一致させたい。
/[A-F0-9]{32}/ を使用できることがわかりましたが、 --posix または --re を指定して gawk を実行した場合に限ります
コマンド ライン オプションのない代替手段はありますか? ([A-F0-9] を 32 回繰り返す以外に!)
どうですか
gawk '/^[A-F0-9]*$/ && length($0)==32'