summaryrefslogtreecommitdiff
path: root/static/unix-v10/man1/fmt.1
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
commit97d5c458cfa039d857301e1ca7d5af3beb37131d (patch)
treeb460cd850d0537eb71806ba30358840377b27688 /static/unix-v10/man1/fmt.1
parentb89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff)
build: Better Build System
Diffstat (limited to 'static/unix-v10/man1/fmt.1')
-rw-r--r--static/unix-v10/man1/fmt.137
1 files changed, 37 insertions, 0 deletions
diff --git a/static/unix-v10/man1/fmt.1 b/static/unix-v10/man1/fmt.1
new file mode 100644
index 00000000..470951f5
--- /dev/null
+++ b/static/unix-v10/man1/fmt.1
@@ -0,0 +1,37 @@
+.TH FMT 1
+.CT 1 writing_other
+.SH NAME
+fmt \(mi ultra-simple text formatter
+.SH SYNOPSIS
+.B fmt
+[
+.I option ...
+]
+[
+.I file ...
+]
+.SH DESCRIPTION
+.I Fmt
+copies the given
+.I files
+(standard input by default)
+to its standard output, filling and indenting lines.
+The options are
+.TP
+.BI -l " n
+Output line length is
+.I n,
+including indent, (default 70).
+.TP
+.BI -i " n
+Indent
+.I n
+spaces (default 0).
+.PP
+Empty lines and initial white space in input lines are preserved.
+Empty lines are inserted between input files.
+.PP
+.I Fmt
+is idempotent: it leaves already formatted text unchanged.
+.SH BUGS
+Words longer than 256 characters are split.