tclCheck man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

TCLCHECK(1L)							  TCLCHECK(1L)

NAME
       tclCheck - check bracket nesting for tcl programs.

SYNOPSIS
       tclCheck [-cgijlmqs] [filename]...

DESCRIPTION
       tclCheck	 does  a  simple bracket nesting check on tcl programs to help
       you find missing or extra  brackets.  The  program  will	 often	detect
       things that are very likely typing errors but which the tcl interpreter
       silently accepts. However, simple bracket matching is not all that use‐
       ful for finding missing brackets and so the program also provides vari‐
       ous ways of rpinting out the bracket  "skeleton"	 of  a	program.  This
       gives  a	 line numbered listing showing where all the brackets occur in
       the program.  It is usually very easy to spot errors from this.

OPTIONS
       -c     By default tclCheck attempts to recognise comments so as to per‐
	      mit  unmatching brackets in them. This flag turns this behaviour
	      off.

       -e     This flag enables checking for lines that have a \  followed  by
	      spaces or tabs at their end. By default this test is not carried
	      out.

       -g     By default tclCheck pops its stack of brackets to a find a match
	      with } > ] > ). This flag turns this off.

       -i     This flag stops the printing of error messages beginning "Inside
	      a string".

       -j     Generates a compressed skeleton print out where  indentation  is
	      ignored when matching brackets (see -l).

       -l     Generates	 a compressed skeleton print out where nested matching
	      lines are paired up and removed. Matching includes any  indenta‐
	      tion.

       -m     Removes  from the skeleton print out bracket pairs that match up
	      directly on lines.

       -q     Do not generate any output unless exceptions are detected.

       -s     Generate a print out of the bracket skeleton of the  whole  pro‐
	      gram.

       -t     tiger  mode  -  this will flag any single " that occur in places
	      where tcl would not detect the start of  a  string.  By  default
	      this  is turned off, but it can be very useful for tracking down
	      som ehard to find problems.

BUGS
       Bracket matching in tcl is an inexact science and the program  takes  a
       very  conservative  view so valid structures will sometimes be flagged.
       This is a feature not a bug!

				 July 20 1994			  TCLCHECK(1L)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net