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_Backslash(3TCL) Tcl Library Procedures Tcl_Backslash(3TCL)__________________________________________________________________________________________________________________________________________________NAME
Tcl_Backslash - parse a backslash sequence
SYNOPSIS
#include <tcl.h>
char
Tcl_Backslash(src, countPtr)
ARGUMENTS
char *src (in) Pointer to a string starting with a backslash.
int *countPtr (out) If countPtr isn't NULL, *countPtr gets filled in with number of characters in the backslash sequence, includ-
ing the backslash character.
_________________________________________________________________DESCRIPTION
The use of Tcl_Backslash is deprecated in favor of Tcl_UtfBackslash. |
This is a utility procedure provided for backwards compatibility with non-internationalized Tcl extensions. It parses a backslash sequence |
and returns the low byte of the Unicode character corresponding to the sequence. Tcl_Backslash modifies *countPtr to contain the number of
characters in the backslash sequence.
See the Tcl manual entry for information on the valid backslash sequences. All of the sequences described in the Tcl manual entry are sup-
ported by Tcl_Backslash.
SEE ALSO |
Tcl(1T), Tcl_UtfBackslash(3TCL)KEYWORDS
backslash, parse
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 8.1 Tcl_Backslash(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)