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)
Check Out this Related 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.
TclTcl_CommandComplete(3TCL)
:confused: Hi !!
I'm in a new system, trying to run some old scripts tcl I have.
Tcl is installed (see below), and the OS is linux (see below env).
All my scripts tcl begin with:
#!/bin/sh
# the next line restarts using tclsh \
exec tclsh "$0" "$@" 1
But they don't want to run... ... (2 Replies)
Following error encountered while executing characterizationEngine.tcl
:confused::confused:
$ ./characterizationEngine.tcl
Tcl Client is running Ixia Software version: 5.60
Can't find tclx.tcl in the following directories:
/usr/lib/tclX8.3
/usr/lib/tclX8.3
/usr/lib/tclX8.3... (0 Replies)
Good morning everyone,
I'm currently trying to convert an environment variable into a string and then attach it at the end of a command and launch it.
I have the following right now, but it's very ugly:
AMI_TAGS="env=test,country=XX,city=blah,galaxy=blahblah"
aws ec2 create-tags... (8 Replies)