|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T s
Length: 2365 (0x93d)
Types: TextFile
Names: »splitline.1«
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
└─⟦c319c2751⟧ »unix3.0/TeX3.0.tar.Z«
└─⟦036c765ac⟧
└─⟦this⟧ »TeX3.0/Man-pages/other-manuals/splitline.1«
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
└─⟦63303ae94⟧ »unix3.14/TeX3.14.tar.Z«
└─⟦c58930e5c⟧
└─⟦this⟧ »TeX3.14/Man-pages/other-manuals/splitline.1«
.TH splitline 1ULM
.UC
.SH NAME
splitline \- split lines to a specified length (used for mail)
.SH SYNOPSIS
.B splitline
[
.B \-o
.I <outputfile>
]
[
.B \-m
.I <maximumLength>
]
[
.B \-t
.I <tabLength>
]
[
.B \-A
.I <optionalSuffix>
]
[
.B \-s
]
[
.B \-T
]
[file(s)]
.SH DESCRIPTION
splitline may be used to split lines to a maximum specified length. Lines are
cut between spaces and/or tabs, and the <tab> characters are expanded.
An optional suffix may be added at the end of split lines. A space is supplied
between the line and this suffix.
A TeXmode is also provided. It is implicit when the first file has a name of the
form *.tex. In this case, no space is supplied between the suffix -- with a
default value of '%' -- and the line.
The parameters are a list of files, where the name `-' stands
for stdin. No file set means stdin only.
Options are:
.IP "\fB\-o <an_output_file>"
.br
The split file is put on this file. The default is the standard output: stdout.
.IP "\fB\-\m<maximumLength>"
All lines are cut to this length, except if there is no place where to cut.
The default is 80, a good value for the mail.
.IP "\fB\-t<tabulationLength>"
This parameter specifies how long are the tabs. The default is 8.
.IP "\fB\-\A<optionalSuffix>"
This suffix, if present, is put at the end of each cut line. It may be used
to show where the cuts have been made. For instance, when mailing a TeX file,
this program doesn't recognize the \\verbatim. So lines too long in this
context are split... and adding a suffix ad hoc, e.g. "%Cut", allows the
recipient of the mail to verify the received file. In TeX mode, the default
value is a single %.
.IP "\fB\-s"
Set a silent mode. Normally, at the end of each processed file, the program
displays the number of split lines and an error count. -s suppresses these
messages.
.IP "\fB\-T"
If the first file is *.tex, the TeXmode is set. This flag may be used to set
or reset this TeXmode, according to the default value.
.SH EXAMPLES
splitfile -A\\%Cut <a-TeX-file> | mail someOne
.br
or:
.br
mail someOne
.br
Subject: a TeX File
.br
~r ! splitline myFile.tex (TeXmode does the good job)
.br
.
.br
.br
The \\ before the '%' is necessary when using the C-shell.
.SH BUGS
When a line is split, spaces are not nicely handled during the end of the line.
.SH AUTHOR
J.Beigbeder (beig@frulm63.bitnet)