mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* log: add Italian translation * fold: add page * Update fold.md fix typo * Update fold.md * Update pages/linux/fold.md Co-authored-by: Seth Falco <seth@falco.fun> * Update pages/linux/fold.md Co-authored-by: Seth Falco <seth@falco.fun> * Update pages/linux/fold.md Co-authored-by: Seth Falco <seth@falco.fun> * Update pages.it/osx/log.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> * Update pages/linux/fold.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> * Update pages/linux/fold.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> * Update pages/linux/fold.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> * Update pages/linux/fold.md Co-authored-by: Jack Lin <blueskyson1401@gmail.com> * Apply suggestions from code review --------- Co-authored-by: Seth Falco <seth@falco.fun> Co-authored-by: Jack Lin <blueskyson1401@gmail.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
16 lines
423 B
Markdown
16 lines
423 B
Markdown
# Fold
|
|
|
|
> Folds long lines for fixed-width output devices.
|
|
> More information: <https://manned.org/fold>.
|
|
|
|
- Fold lines in a fixed width:
|
|
|
|
`fold --width {{width}} {{path/to/file}}`
|
|
|
|
- Count width in bytes (the default is to count in columns):
|
|
|
|
`fold --bytes --width {{width_in_bytes}} {{path/to/file}}`
|
|
|
|
- Break the line after the rightmost blank within the width limit:
|
|
|
|
`fold --spaces --width {{width}} {{path/to/file}}`
|