On Sat, Dec 19, 2009 at 07:47:54PM +0530, Ravi Jaya wrote:
> I like to know,  what is the significant of the command `typeset`, when to
> use it in the real time. If your are the one who used  it in the shell
> scripting, please let me know when, where and why did you used it and in
> which context.
> 
> I checked the man pages and enough goggled for `typeset`.

You should check the bash man page. It's used to set some attributes
to variables. For example,

x=Kumar
typeset -r x
x=Kumar2 # ← Causes an error, since "-r" marks x read only.

The bash man page provides a short explanation. This should help as
well:

http://www.tldp.org/LDP/abs/html/declareref.html

HTH.

Kumar
-- 
:
####[ GNU/Linux One Stanza Tip (LOST) ]#######################

Sub : Displaying M$ .doc atts under mutt             LOST #750

To view M$-word .doc attachments under mutt, do an ASCII 
conversion with antiword [http://www.winfield.demon.nl/]
and then, put the following line into .mailcap:
application/msword; antiword %s; copiousoutput

####[ usmbish (at) users.sourceforge.net ]####################
:
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to