*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> strain (1)              


STRAIN(1M)							    STRAIN(1M)

NAME    [Toc]    [Back]

     strain - extract errors from build	log files.

SYNOPSIS    [Toc]    [Back]

     strain [ -h | -s ]	[ -w ] [ -c context ] <logfile>

DESCRIPTION    [Toc]    [Back]

     strain is used to extract error messages from a build log.	It displays
     the error and a certain amount of context around it.  strain can work on
     an	arbitrary input, but works best	with input that	has special markers
     known to strain.  For large build logs, strain is an effective tool in
     determining build success or failure.

     strain works by folding the log file into 512 character lines and feeding
     these lines through a nawk(1) script which	looks for known	error messages
     patterns.	When strain encounters an error, it simply saves that line
     number and	continues scanning.  If	strain hits either a marker or
     accumulates context lines,	it dumps the line in errors and	the
     surrounding context.  Markers are lines beginning with:  @<,@>,===,

OPTIONS    [Toc]    [Back]

     -c	   accumulate context lines before dumping any errors.	Default	is 15.

     -h	   show	highlights only. This option prints out	every line that	begins
	   with	:-( (Mk's "subsystem build failure" identifier)	or = (the
	   "subsystem build begin" identifier printed by Mk and	some

     -s	   provide a summary list of directories with errors before the	strain

     -w	   show	warning	messages, in addition to error messages.

WARNINGS    [Toc]    [Back]

     The -h and	-s options are mutually	exclusive.

SEE ALSO    [Toc]    [Back]

     nawk(1), fold(1), makewrapper(1)

BUGS    [Toc]    [Back]

     strain's algorithm	for finding bugs is simply a list of patterns to
     search for.  New tools often report errors	in a way that strain doesn't

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
exstr IRIX extract strings from source files
xgettext Linux extract translatable string from given input files
tcpslice FreeBSD extract pieces of and/or glue together tcpdump files
config FreeBSD build system configuration files
sswsextr IRIX extract working set files from SpeedShop ideal-time experiment
dh_installexamples Linux install example files into package build directories
dlltool Linux Create files needed to build and use DLLs.
dh_install Linux install files into package build directories
dh_fixperms Linux fix permissions of files in package build directories
dh_installdebconf Linux install files used by debconf in package build directories
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service