Measure the length of lines in a file
mll measures the length (in characters) of the lines in a file, usually displaying the length of the longest line. I use it when writing code to ensure that the lines are not so long that they make the code hard to read or to print.
As with most of the filters, typing mll -h displays usage and option text, which is reproduced below. This text shows all the available processing options for mll.
Usage: mll [-t#m#s#lb3h] [files...]
Measure length of lines in a file.
Options :
        -t#  treats tabstops as occurring every # characters (default=8)
        -m#  information only for files with longest line > # (default=80)
        -s#  indicates lines longer than # (default=80)
        -l   displays longest line and lines longer than -s#
        -b   treats BACKSPACE and DELETE as normal characters
             (otherwise they decrease the char count by one)
        -3   count trigraphs as 3 characters
             trigraph characters are #, [, ], {, }, \, ^,  and ~
        -h   display this message and terminate
Option letters are case-insensitive, e.g. -l and -L are equivalent.
The  "files"  argument  indicates the names of files to be converted. If no
files are specified or if the filename is a single '-', standard  input  is
Converted   output is  always  written to  single  standard  output  stream
(which may be redirected to a file).
On specifying options:
    Option  letters  are case-insensitive,  e.g.  -h and -H are equivalent.
    Options must  occur before  filename  arguments  and start  with a dash
    ('-')  immediately followed by an  option character.
    For options that take values  (example: -t#),  the value may optionally
    be separated from the option letter by white space.
Previous  |  Next ]     [ Up  |  First  |  Last ]     (Article 20 of 485)
Comments, flames, broken links?
Please send email to