2018-06-12 16:06:16 +02:00
|
|
|
---
|
2018-07-16 15:01:50 +02:00
|
|
|
description: The read file content is not binary-safe.
|
2018-06-12 16:06:16 +02:00
|
|
|
functions:
|
|
|
|
file-read:
|
2020-01-08 15:50:13 +01:00
|
|
|
- description: This only works for the GNU version of `fmt`.
|
|
|
|
code: |
|
2018-07-16 15:01:50 +02:00
|
|
|
LFILE=file_to_read
|
|
|
|
fmt -pNON_EXISTING_PREFIX "$LFILE"
|
2020-01-08 15:50:13 +01:00
|
|
|
- description: This corrupts the output by wrapping very long lines at the given width.
|
|
|
|
code: |
|
|
|
|
LFILE=file_to_read
|
|
|
|
fmt -999 "$LFILE"
|
2018-10-05 19:55:38 +02:00
|
|
|
suid:
|
2020-01-08 15:50:13 +01:00
|
|
|
- description: This corrupts the output by wrapping very long lines at the given width.
|
|
|
|
code: |
|
2018-07-16 15:01:50 +02:00
|
|
|
LFILE=file_to_read
|
2020-01-08 15:50:13 +01:00
|
|
|
./fmt -999 "$LFILE"
|
2018-10-05 19:55:38 +02:00
|
|
|
sudo:
|
2020-01-08 15:50:13 +01:00
|
|
|
- description: This corrupts the output by wrapping very long lines at the given width.
|
|
|
|
code: |
|
2018-07-16 15:01:50 +02:00
|
|
|
LFILE=file_to_read
|
2020-01-08 15:50:13 +01:00
|
|
|
sudo fmt -999 "$LFILE"
|
2018-06-12 16:06:16 +02:00
|
|
|
---
|