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.
Textwrangler を使用して、ファイルから 1 行目から 41839 行目を削除する必要があります。手動で 4 万 1000 行すべてを強調表示する必要なく、これを行う簡単な方法はありますか。
お使いの TextWrangler のバージョンで許可されている場合は、
\A(.*\r){1,41839}
それ以外の場合は、ファイルの先頭に配置して、
^(.*\r){1,41839}
どちらかを何も置き換えなくてもうまくいくはずですよね?
または適切なシェルで
sed '1,41839d' t.txt