From 79b61b1f554575f5b0129bdc68e4346ff90b2f9a Mon Sep 17 00:00:00 2001 From: Sebastiaan Speck Date: Wed, 4 Jun 2025 20:57:53 +0200 Subject: [PATCH 1/3] sed: remove mnemonics --- pages.ja/linux/sed.md | 6 +++--- pages.ko/linux/sed.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pages.ja/linux/sed.md b/pages.ja/linux/sed.md index b4e04151c2..8b3cf8ebf9 100644 --- a/pages.ja/linux/sed.md +++ b/pages.ja/linux/sed.md @@ -16,7 +16,7 @@ `sed {{[-i|--in-place]}} 's/apple/mango/g' {{path/to/file}}` -- 特定のスクリプトファイル([f]ile)を実行し、結果を`stdout`に出力する: +- 特定のスクリプトファイルを実行し、結果を`stdout`に出力する: `{{command}} | sed {{-f|--file}} {{path/to/script.sed}}` @@ -24,10 +24,10 @@ `{{command}} | sed {{[-n|--quiet]}} '1p'` -- ファイルの最初の行を削除([d]elete)する: +- ファイルの最初の行を削除する: `sed {{[-i|--in-place]}} 1d {{path/to/file}}` -- ファイルの先頭行に改行を挿入([i]nsert)する: +- ファイルの先頭行に改行を挿入する: `sed {{[-i|--in-place]}} '1i\your new line text\' {{path/to/file}}` diff --git a/pages.ko/linux/sed.md b/pages.ko/linux/sed.md index 31a1ee4d20..46d4c5d762 100644 --- a/pages.ko/linux/sed.md +++ b/pages.ko/linux/sed.md @@ -16,7 +16,7 @@ `sed {{[-i|--in-place]}} 's/apple/mango/g' {{경로/대상/파일}}` -- 특정 스크립트 [f]파일을 실행하고 결과를 `stdout`에 출력: +- 특정 스크립트 파일을 실행하고 결과를 `stdout`에 출력: `{{command}} | sed {{-f|--file}} {{경로/대상/스크립트.sed}}` @@ -24,10 +24,10 @@ `{{command}} | sed {{[-n|--quiet]}} '1p'` -- 파일의 첫 번째 줄 [d]삭제: +- 파일의 첫 번째 줄 삭제: `sed {{[-i|--in-place]}} 1d {{경로/대상/파일}}` -- 파일의 첫 번째 줄에 새 줄 [i]삽입: +- 파일의 첫 번째 줄에 새 줄 삽입: `sed {{[-i|--in-place]}} '1i\your new line text\' {{경로/대상/파일}}` From 9cdf592a9d7c586713833ac2e836ca0c19b417a2 Mon Sep 17 00:00:00 2001 From: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Date: Thu, 5 Jun 2025 04:32:16 +0200 Subject: [PATCH 2/3] Update pages.ja/linux/sed.md Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> --- pages.ja/linux/sed.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages.ja/linux/sed.md b/pages.ja/linux/sed.md index 8b3cf8ebf9..547ad83b94 100644 --- a/pages.ja/linux/sed.md +++ b/pages.ja/linux/sed.md @@ -18,7 +18,7 @@ - 特定のスクリプトファイルを実行し、結果を`stdout`に出力する: -`{{command}} | sed {{-f|--file}} {{path/to/script.sed}}` +`{{command}} | sed {{[-f|--file]}} {{path/to/script.sed}}` - 最初の行だけを`stdout`に出力する: From 6556e86064d66cb1c38415d40ad0152062f1c973 Mon Sep 17 00:00:00 2001 From: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Date: Thu, 5 Jun 2025 04:32:27 +0200 Subject: [PATCH 3/3] Update pages.ko/linux/sed.md Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> --- pages.ko/linux/sed.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages.ko/linux/sed.md b/pages.ko/linux/sed.md index 46d4c5d762..50a34eb8ce 100644 --- a/pages.ko/linux/sed.md +++ b/pages.ko/linux/sed.md @@ -18,7 +18,7 @@ - 특정 스크립트 파일을 실행하고 결과를 `stdout`에 출력: -`{{command}} | sed {{-f|--file}} {{경로/대상/스크립트.sed}}` +`{{command}} | sed {{[-f|--file]}} {{경로/대상/스크립트.sed}}` - 첫 번째 줄만 `stdout`에 출력: