mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-05 02:55:42 +00:00
Update cheatsheets
This commit is contained in:
@@ -8,7 +8,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Change Unix-style line endings to DOS-style.
|
||||
> Replaces LF with CRLF.
|
||||
> See also `unix2mac`, `dos2unix`, and `mac2unix`.
|
||||
> More information: <https://waterlan.home.xs4all.nl/dos2unix.html>.
|
||||
> More information: <https://manned.org/unix2dos>.
|
||||
|
||||
- Change the line endings of a file:
|
||||
|
||||
@@ -16,11 +16,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user