diff options
author | ru <ru@FreeBSD.org> | 2002-01-11 19:06:48 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-01-11 19:06:48 +0000 |
commit | 6540e7cdd986786f2db32add91f71aebded17c16 (patch) | |
tree | 7e240be41e04dd191e5ec747a5891b2e69a10e4a /usr.bin/fmt/fmt.1 | |
parent | dc0928a2d46eb310c7d1028a436c824ee8cd0ec4 (diff) | |
download | FreeBSD-src-6540e7cdd986786f2db32add91f71aebded17c16.zip FreeBSD-src-6540e7cdd986786f2db32add91f71aebded17c16.tar.gz |
Don't format lines that look like troff requests, for
compatibility with old fmt(1). New option -n permits
formatting of lines beginning with a dot character.
PR: bin/31392
MFC after: 3 days
Diffstat (limited to 'usr.bin/fmt/fmt.1')
-rw-r--r-- | usr.bin/fmt/fmt.1 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/usr.bin/fmt/fmt.1 b/usr.bin/fmt/fmt.1 index b1333ae..6c9862f 100644 --- a/usr.bin/fmt/fmt.1 +++ b/usr.bin/fmt/fmt.1 @@ -42,7 +42,7 @@ .Nd simple text formatter .Sh SYNOPSIS .Nm fmt -.Op Fl cmps +.Op Fl cmnps .Op Fl d Ar chars .Op Fl l Ar num .Op Fl t Ar num @@ -88,6 +88,14 @@ In this case, most of the other options are ignored; no splitting or joining of lines is done. .It Fl m Try to format mail header lines contained in the input sensibly. +.It Fl n +Format lines beginning with a +.Ql \&. +(dot) character. +Normally, +.Nm +does not fill these lines, for compatibility with +.Xr nroff 1 . .It Fl p Allow indented paragraphs. Without the |