10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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)
Discussion started by: Subbeh
2. Shell Programming and Scripting
Am trying to convert a script written in ksh to a bash shell.
At the moment, am stumped with the typeset -u command and I can't find an equivalent of it in bash.
integer function is also not working as is the following if statement
if ] && ]; then
Is... (3 Replies)
Discussion started by: newbie_01
3. Shell Programming and Scripting
typeset -l sgf # all lowercase letters
typeset -u SGF # all uppercase letters
these lines used in my scripts . It ran fine in ksh but when we convert this to bash it erroring out.
I like to know what the use of typeset ??
Thanks & Regards
kanagaraj (3 Replies)
Discussion started by: kanagaraj
4. UNIX for Dummies Questions & Answers
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
I donot understand what actually these lines do.
As per my... (2 Replies)
Discussion started by: siba.s.nayak
5. Shell Programming and Scripting
I have a question about typesetting. I originally wrote a script for use with ksh and now I am on a system that I cannot modify, and it only has bash.
In the original script I just did typeset -RZ4 variable and it would add the leading zeros. In bash, it doesn't work.
I've... (2 Replies)
Discussion started by: jwheeler
6. UNIX and Linux Applications
Hi All ,
Can any one help me the meaning of typeset -r
venkat (1 Reply)
Discussion started by: venkatakotiy
7. Shell Programming and Scripting
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?
Yogi (3 Replies)
Discussion started by: bisla.yogender
8. Shell Programming and Scripting
Can anyone show me a simple practical usage of typeset. (1 Reply)
Discussion started by: balaji_prk
9. Shell Programming and Scripting
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)
Discussion started by: xinfinity
10. UNIX for Dummies Questions & Answers
I have problem understanding shell script.Written that
$bindir/put_load.ksh ; typeset RV= $?
I dont have any other document about script. How can i find that $bindir is exist or not what is the content of that, i am working on new box . how can i search that in old box what... (4 Replies)
Discussion started by: sam71