サクサク読めて、アプリ限定の機能も多数!
愛用しているRust製Grepツール・ripgrepでファイル内容を置き換えるトリック。別ファイルに書き出すか、spongeを使う。Windows環境で雑に試してみると、sd(×sed)コマンドでも ほぼ同じ速度だった。
asiamoth のブックマーク 2023/02/05 17:31
Search and replace tricks with ripgrep[Rust][tool][PC・ゲーム・家電]愛用しているRust製Grepツール・ripgrepでファイル内容を置き換えるトリック。別ファイルに書き出すか、spongeを使う。Windows環境で雑に試してみると、sd(×sed)コマンドでも ほぼ同じ速度だった。2023/02/05 17:31
このブックマークにはスターがありません。 最初のスターをつけてみよう!
learnbyexample.github.io2020/09/17
ripgrep (command name rg) is a grep tool, but supports search and replace as well. rg is far from a like-for-like alternate for sed, but it has nifty features like multiline replacement, fixed stri...
2 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /
愛用しているRust製Grepツール・ripgrepでファイル内容を置き換えるトリック。別ファイルに書き出すか、spongeを使う。Windows環境で雑に試してみると、sd(×sed)コマンドでも ほぼ同じ速度だった。
このブックマークにはスターがありません。
最初のスターをつけてみよう!
Search and replace tricks with ripgrep
ripgrep (command name rg) is a grep tool, but supports search and replace as well. rg is far from a like-for-like alternate for sed, but it has nifty features like multiline replacement, fixed stri...
2 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /