Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tcl_commandcomplete(3tcl) [opensolaris man page]

Tcl_CommandComplete(3TCL)				      Tcl Library Procedures					 Tcl_CommandComplete(3TCL)

__________________________________________________________________________________________________________________________________________________

NAME
Tcl_CommandComplete - Check for unmatched braces in a Tcl command SYNOPSIS
#include <tcl.h> int Tcl_CommandComplete(cmd) ARGUMENTS
CONST char *cmd (in) Command string to test for completeness. _________________________________________________________________ DESCRIPTION
Tcl_CommandComplete takes a Tcl command string as argument and determines whether it contains one or more complete commands (i.e. there are no unclosed quotes, braces, brackets, or variable references). If the command string is complete then it returns 1; otherwise it returns 0. KEYWORDS
complete command, partial command ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTcl | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+ NOTES
Source for Tcl is available on http://opensolaris.org. Tcl Tcl_CommandComplete(3TCL)

Check Out this Related Man Page

Tcl_PutEnv(3TCL)					      Tcl Library Procedures						  Tcl_PutEnv(3TCL)

__________________________________________________________________________________________________________________________________________________

NAME
Tcl_PutEnv - procedures to manipulate the environment SYNOPSIS
#include <tcl.h> int Tcl_PutEnv(string) ARGUMENTS
CONST char *string (in) Info about environment variable in the form NAME=value. The string argument is in the system encoding. _________________________________________________________________ DESCRIPTION
Tcl_PutEnv sets an environment variable. The information is passed in a single string of the form NAME=value. This procedure is intended to be a stand-in for the UNIX putenv system call. All tcl-based applications using putenv should redefine it to Tcl_PutEnv so that they will interface properly to the Tcl runtime. KEYWORDS
environment, variable ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTcl | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+ NOTES
Source for Tcl is available on http://opensolaris.org. Tcl 7.5 Tcl_PutEnv(3TCL)
Man Page

3 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

else unmatched

I'm getting an else unmatched error on the script below.. For info : SYDB is the database name entered as a param on the command line. #Check the DB name HBDB=`sql $SYDB <<_END_ | grep '^|' | grep -v dbase | sed 's/|//g' | sed 's/ //g' set autocommit on; \p\g set lockmode... (7 Replies)
Discussion started by: b.hamilton
7 Replies

2. Shell Programming and Scripting

Passing varibles as a string argument ?

For example test.sh: test="teststring" cmd=$1 $cmd For some reason I'm NOT seeing "teststring" when I type: ./test.sh "echo $test" Any ideas on how to get around this? I've tried commands like: ./test.sh "echo $($test)" ./test.sh "echo '$test'" And many variations to no... (6 Replies)
Discussion started by: secops
6 Replies

3. UNIX for Dummies Questions & Answers

Unable to execute the complete cmd - using find command

Hi, I'm unable to execute the below command completely ; it's not allowing me to type the complete command. It is allowing till "xargs" and i cannot even press enter after that. I'm using Solaris. Let me know if anything needs to be added so as to execute the complete command. Appreciate... (12 Replies)
Discussion started by: venkatesht
12 Replies