I have found this command *typeset* and the option * -f *, which should provide me the list of all the currently defined functions. Is there any possibility of specifying the file in which this command to search ? (1 Reply)
Hi,
Could any one please explain about typeset or share any link from where i can study about typeset i.e how to use it, how to define it.. etc?
Thanks-
Yogi (3 Replies)
I am trying to run a script in Solaris 10 in which it it giving error
typeset: not found (I am trying to use typeset -i )
where the shell is $ echo $SHELL
/usr/bin/sh
But when i do bash it is running fine. can any one tell me how i can use the same with out doing bash.
Thanks in... (3 Replies)
Hi,
Can any one please explain me the use of 'typeset' in shell scripting?
I donot under stand the use and advantages of using typeset.
In one of our script, it is written like typeset VERBOSE NO_UPDATE
typeset LOAD_SYBASE_TABLES
I donot understand what actually these lines do.
As per my... (2 Replies)
Hi,
All the scripts we have here use typeset instead of normal variables.
They don't have any parameters, they just get declared at the beginning of the scripts like this: typeset var1 var2 var3Could anyone tell me why this is done? I don't see the advantage in this over using normal variables. (1 Reply)
typeset -u xname1=$mname1 is working fine in HP-UX.
But it throwing below error in Linux:
line 40: typeset: -u: invalid option
typeset: usage: typeset name .
Please suggest.
Thanks, Ambar (5 Replies)
I wanted to understand the meaning of pipe in typset declaration, I understood the meaning but wanted to know the concept.
Sample declaration:
typeset -r A='ab | bc | cd1' (1 Reply)
Discussion started by: nixhead
1 Replies
LEARN ABOUT REDHAT
tcp-env
tcp-env(1) General Commands Manual tcp-env(1)NAME
tcp-env - set up TCP-related environment variables
SYNOPSIS
tcp-env [ -rR ] [ -ttimeout ] program [ arg ... ]
DESCRIPTION
The input for tcp-env must be a TCP connection. tcp-env finds out information about that connection, puts the information into several
environment variables as described in tcp-environ(5), and runs program with the given arguments.
Usually tcp-env is run from inetd. It might instead be run from another server that already sets up the right environment variables; if
PROTO is set to TCP when tcp-env is invoked, tcp-env assumes that all the other variables are set up properly, and it does not check
whether the input is a TCP connection.
OPTIONS -r (Default.) Attempt to obtain TCPREMOTEINFO from the remote host.
-R Do not attempt to obtain TCPREMOTEINFO from the remote host.
-ttimeout
Give up on the TCPREMOTEINFO connection attempt after timeout seconds. Default: 30.
SEE ALSO tcp-environ(5), inetd(8)tcp-env(1)