From 8bcd8e66da2d4d86efe197e388fbfcf2624e9eab Mon Sep 17 00:00:00 2001 From: Reinhart Previano Koentjoro Date: Fri, 27 Sep 2024 22:48:17 +0700 Subject: [PATCH] dos2unix, mac2unix, unix2dos, unix2mac: standardize More Information links, add Indonesian translation (#13796) --- pages.id/linux/dos2unix.md | 22 ++++++++++++++++++++++ pages.id/linux/mac2unix.md | 22 ++++++++++++++++++++++ pages.id/linux/unix2dos.md | 22 ++++++++++++++++++++++ pages.id/linux/unix2mac.md | 22 ++++++++++++++++++++++ pages/linux/dos2unix.md | 4 ++-- pages/linux/mac2unix.md | 6 +++--- pages/linux/unix2dos.md | 6 +++--- pages/linux/unix2mac.md | 6 +++--- 8 files changed, 99 insertions(+), 11 deletions(-) create mode 100644 pages.id/linux/dos2unix.md create mode 100644 pages.id/linux/mac2unix.md create mode 100644 pages.id/linux/unix2dos.md create mode 100644 pages.id/linux/unix2mac.md diff --git a/pages.id/linux/dos2unix.md b/pages.id/linux/dos2unix.md new file mode 100644 index 0000000000..cd84e7389d --- /dev/null +++ b/pages.id/linux/dos2unix.md @@ -0,0 +1,22 @@ +# dos2unix + +> Ubah format pengakhiran baris teks pada suatu berkas teks (plaintext) dari format DOS menuju Unix. +> Program ini menggantikan simbol CRLF menjadi LF. +> Lihat juga: `unix2dos`, `unix2mac`, dan `mac2unix`. +> Informasi lebih lanjut: . + +- Ganti format pengakhiran baris teks dan simpan perubahan pada berkas yang sama: + +`dos2unix {{jalan/menuju/berkas}}` + +- Ganti format namun simpan perubahan sebagai berkas baru: + +`dos2unix {{-n|--newfile}} {{jalan/menuju/berkas}} {{jalan/menuju/berkas_baru}}` + +- Tampilkan informasi suatu berkas teks: + +`dos2unix {{-i|--info}} {{jalan/menuju/berkas}}` + +- Tetap jaga/tambahkan/hapus simbol Byte Order Mark (BOM) saat mengubah isi berkas: + +`dos2unix --{{keep-bom|add-bom|remove-bom}} {{jalan/menuju/berkas}}` diff --git a/pages.id/linux/mac2unix.md b/pages.id/linux/mac2unix.md new file mode 100644 index 0000000000..18e939bbf6 --- /dev/null +++ b/pages.id/linux/mac2unix.md @@ -0,0 +1,22 @@ +# mac2unix + +> Ubah format pengakhiran baris teks pada suatu berkas teks (plaintext) dari format DOS menuju Unix. +> Program ini menggantikan simbol CRLF menjadi LF. +> Lihat juga: `unix2dos`, `unix2mac`, dan `dos2unix`. +> Informasi lebih lanjut: . + +- Ganti format pengakhiran baris teks dan simpan perubahan pada berkas yang sama: + +`mac2unix {{jalan/menuju/berkas}}` + +- Ganti format namun simpan perubahan sebagai berkas baru: + +`mac2unix {{-n|--newfile}} {{jalan/menuju/berkas}} {{jalan/menuju/berkas_baru}}` + +- Tampilkan informasi suatu berkas teks: + +`mac2unix {{-i|--info}} {{jalan/menuju/berkas}}` + +- Tetap jaga/tambahkan/hapus simbol Byte Order Mark (BOM) saat mengubah isi berkas: + +`mac2unix --{{keep-bom|add-bom|remove-bom}} {{jalan/menuju/berkas}}` diff --git a/pages.id/linux/unix2dos.md b/pages.id/linux/unix2dos.md new file mode 100644 index 0000000000..744a5477c0 --- /dev/null +++ b/pages.id/linux/unix2dos.md @@ -0,0 +1,22 @@ +# unix2dos + +> Ubah format pengakhiran baris teks pada suatu berkas teks (plaintext) dari format Unix menuju DOS. +> Program ini menggantikan simbol LF menjadi CRLF. +> Lihat juga: `unix2mac`, `dos2unix`, dan `mac2unix`. +> Informasi lebih lanjut: . + +- Ganti format pengakhiran baris teks dan simpan perubahan pada berkas yang sama: + +`unix2dos {{jalan/menuju/berkas}}` + +- Ganti format namun simpan perubahan sebagai berkas baru: + +`unix2dos {{-n|--newfile}} {{jalan/menuju/berkas}} {{jalan/menuju/berkas_baru}}` + +- Tampilkan informasi suatu berkas teks: + +`unix2dos {{-i|--info}} {{jalan/menuju/berkas}}` + +- Tetap jaga/tambahkan/hapus simbol Byte Order Mark (BOM) saat mengubah isi berkas: + +`unix2dos --{{keep-bom|add-bom|remove-bom}} {{jalan/menuju/berkas}}` diff --git a/pages.id/linux/unix2mac.md b/pages.id/linux/unix2mac.md new file mode 100644 index 0000000000..e62405a66d --- /dev/null +++ b/pages.id/linux/unix2mac.md @@ -0,0 +1,22 @@ +# unix2mac + +> Ubah format pengakhiran baris teks pada suatu berkas teks (plaintext) dari format Unix menuju macOS. +> Program ini menggantikan simbol LF menjadi CR. +> Lihat juga: `unix2dos`, `dos2unix`, dan `mac2unix`. +> Informasi lebih lanjut: . + +- Ganti format pengakhiran baris teks dan simpan perubahan pada berkas yang sama: + +`unix2mac {{jalan/menuju/berkas}}` + +- Ganti format namun simpan perubahan sebagai berkas baru: + +`unix2mac {{-n|--newfile}} {{jalan/menuju/berkas}} {{jalan/menuju/berkas_baru}}` + +- Tampilkan informasi suatu berkas teks: + +`unix2mac {{-i|--info}} {{jalan/menuju/berkas}}` + +- Tetap jaga/tambahkan/hapus simbol Byte Order Mark (BOM) saat mengubah isi berkas: + +`unix2mac --{{keep-bom|add-bom|remove-bom}} {{jalan/menuju/berkas}}` diff --git a/pages/linux/dos2unix.md b/pages/linux/dos2unix.md index d859191174..9680accef5 100644 --- a/pages/linux/dos2unix.md +++ b/pages/linux/dos2unix.md @@ -11,11 +11,11 @@ - Create a copy with Unix-style line endings: -`dos2unix -n {{path/to/file}} {{path/to/new_file}}` +`dos2unix {{-n|--newfile}} {{path/to/file}} {{path/to/new_file}}` - Display file information: -`dos2unix -i {{path/to/file}}` +`dos2unix {{-i|--info}} {{path/to/file}}` - Keep/add/remove Byte Order Mark: diff --git a/pages/linux/mac2unix.md b/pages/linux/mac2unix.md index ba5aff554f..6e3d7f54f3 100644 --- a/pages/linux/mac2unix.md +++ b/pages/linux/mac2unix.md @@ -3,7 +3,7 @@ > Change macOS-style line endings to Unix-style. > Replaces CR with LF. > See also `unix2dos`, `unix2mac`, and `dos2unix`. -> More information: . +> More information: . - Change the line endings of a file: @@ -11,11 +11,11 @@ - Create a copy with Unix-style line endings: -`mac2unix -n {{path/to/file}} {{path/to/new_file}}` +`mac2unix {{-n|--newfile}} {{path/to/file}} {{path/to/new_file}}` - Display file information: -`mac2unix -i {{path/to/file}}` +`mac2unix {{-i|--info}} {{path/to/file}}` - Keep/add/remove Byte Order Mark: diff --git a/pages/linux/unix2dos.md b/pages/linux/unix2dos.md index 085f2d4acc..b0bd0c24c0 100644 --- a/pages/linux/unix2dos.md +++ b/pages/linux/unix2dos.md @@ -3,7 +3,7 @@ > Change Unix-style line endings to DOS-style. > Replaces LF with CRLF. > See also `unix2mac`, `dos2unix`, and `mac2unix`. -> More information: . +> More information: . - Change the line endings of a file: @@ -11,11 +11,11 @@ - Create a copy with DOS-style line endings: -`unix2dos -n {{path/to/file}} {{path/to/new_file}}` +`unix2dos {{-n|--newfile}} {{path/to/file}} {{path/to/new_file}}` - Display file information: -`unix2dos -i {{path/to/file}}` +`unix2dos {{-i|--info}} {{path/to/file}}` - Keep/add/remove Byte Order Mark: diff --git a/pages/linux/unix2mac.md b/pages/linux/unix2mac.md index 3cf56c3368..d16fc77059 100644 --- a/pages/linux/unix2mac.md +++ b/pages/linux/unix2mac.md @@ -3,7 +3,7 @@ > Change Unix-style line endings to macOS-style. > Replaces LF with CR. > See also `unix2dos`, `dos2unix`, and `mac2unix`. -> More information: . +> Informasi lebih lanjut: . - Change the line endings of a file: @@ -11,11 +11,11 @@ - Create a copy with macOS-style line endings: -`unix2mac -n {{path/to/file}} {{path/to/new_file}}` +`unix2mac {{-n|--newfile}} {{path/to/file}} {{path/to/new_file}}` - Display file information: -`unix2mac -i {{path/to/file}}` +`unix2mac {{-i|--info}} {{path/to/file}}` - Keep/add/remove Byte Order Mark: