linelength - displays all/maximum line lengths of a file.
Author
Description
Documented Version
Exit Status
Options
Permissions
Rcs Information
Rcs.sh Version
Restrictions
Synopsis
Warning(s)
1.7 - 2012/01/09 23:05:07
linelength [-mnp] [files]* [-x]* [-X]*
Display all/maximum line lengths of a file.
-m display length of longest line in the file -n no display of file name associated with max length -p print the line after the line number -x does set -x (may be used in functions and external script calls) (see DIAGNOSTICS below) -X sets debugging level--the number of times -X is specified" (see DIAGNOSTICS below)
The backspace detector (1.7) has been tested in a limited fashion--more test cases would be useful. Perhaps also a -i flag to skip the backspace detector test.
00010
$Id: linelength,v 1.7 2012/01/09 23:05:07 earneson Exp $
$Source: /Users/cvs/scripts/all/Users/earneson/bin/linelength,v $
$Date: 2012/01/09 23:05:07 $
$Author: earneson $
$Revision: 1.7 $
$State: Exp $
rwxr-xr-x userUID staff
40 - The localize script could not be found. Global machine settings can not be set.
51 - An unknown option was passed to the script, or syntax of the parameters is wrong.
51 - Unknown option >$errflag<
56 - The USAGE was requested using -z or -?.
Edwin Arneson
\\$4 | linelength (1) | EJA UTILITY |