mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-21 21:02:22 +00:00
Update cheatsheets
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user