|
|
1.1 root 1: .TH FMT 1
2: .SH NAME
3: fmt \- ultra-simple text formatter
4: .SH SYNOPSIS
5: .B fmt
6: [
7: .I option ...
8: ]
9: [
10: .I file ...
11: ]
12: .SH DESCRIPTION
13: .I Fmt
14: copies the given
15: .I files
16: (standard input by default)
17: to its standard output, filling and indenting lines.
18: The options are
19: .TP
20: .BI -l " n
21: Output line length is
22: .IR n ,
23: including indent (default 70).
24: .TP
25: .BI -i " n
26: Indent
27: .I n
28: spaces (default 0).
29: .TP
30: .BI -j
31: Don't join input lines, simply split them where necessary.
32: .PP
33: Empty lines and initial white space in input lines are preserved.
34: Empty lines are inserted between input files.
35: .PP
36: .I Fmt
37: is idempotent: it leaves already formatted text unchanged.
38: .SH SOURCE
39: .B /sys/src/cmd/fmt.c
40: .SH BUGS
41: Words longer than 256 characters are split.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.