1

行数が多すぎるファイルがあります。

次のように構成されています。

Text
Text
Text

<--!Important Text begins here-->
important Text
Important Text
Important Text

<--!Important Text ends here -->

Unimportant Text
....

<--!Important Text begins here-->
important Text
Important Text
Important Text

<--!Important Text ends here -->

Unimportant Text
....<--!Important Text begins here-->
important Text
Important Text
Important Text

<--!Important Text ends here -->

Unimportant Text
....

等々。

重要な部分を取り出して新しいファイルに保存するにはどうすればよいですか? マッキントッシュからダッシュターミナルを使用しています

4

2 に答える 2