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.
入力ファイル:
vnic10 e1000g1 e1000g2 vnic10 blablabla888blablablabla999blabla
必要な出力:(各行の数字のみ)
10 1000 1 1000 2 10 888 999
これは、sed と記憶されたパターンを使用して行うことができます。awk/nawk および ksh コマンドを使用してこれを行うためのロジックを探しています。