エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Batch editing files with ed
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Batch editing files with ed
The other day at work I needed to edit 200 files at once. I wanted to do something pretty simple:... The other day at work I needed to edit 200 files at once. I wanted to do something pretty simple: basically, I had files that looked like this: foo: - bar - baz - bananas and I wanted to insert an extra line after the baz line that said elephant foo: - bar - baz - elephant - bananas I had one extra weird requirement which was that some of the lines were indented with 2 spaces, and some with 4 spac