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