Update cheatsheets

This commit is contained in:
ivuorinen
2024-09-28 00:16:46 +00:00
parent 3d00577959
commit fe793953f8
19 changed files with 52 additions and 31 deletions

View File

@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
> Change Unix-style line endings to macOS-style.
> Replaces LF with CR.
> See also `unix2dos`, `dos2unix`, and `mac2unix`.
> More information: <https://waterlan.home.xs4all.nl/dos2unix.html>.
> Informasi lebih lanjut: <https://manned.org/unix2mac>.
- Change the line endings of a file:
@@ -16,11 +16,11 @@ source: https://github.com/tldr-pages/tldr.git
- 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: