10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
As per my understanding typeset wil lmake a variable constant or readonly and -i option will make a variable integer. But please see the below outputs
typeset -i abc=000001;echo $abc
1
typeset -i abc=0000010;echo $abc
8
typeset -i abc=00000100;echo $abc
64
typeset -i... (3 Replies)
Discussion started by: ratheeshjulk
3 Replies
2. Shell Programming and Scripting
I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found"
My code is as follows:
--------------------------
#!/bin/sh
user="test"
DIR="/bldtmp/"$user
VIEW="test.view1"
echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4 Replies
3. Shell Programming and Scripting
Can someone explain whats this below command will do exactly..
typeset tmpFile1 tmpDir1 rc fileName fullName bc
typeset tmpFile1 tmpFile2 rc fileSuffix uef
typeset origFile bc fullName tmpDir1 remoteCmd inFile newInFile
typeset num fn curDate fileSuffix ucFileName
Since i'm new to... (1 Reply)
Discussion started by: help_scr_seeker
1 Replies
4. Shell Programming and Scripting
typeset -l section
section=${2:-.}
what does these 2 lines meaning? (1 Reply)
Discussion started by: venkatababu
1 Replies
5. Shell Programming and Scripting
I am having a problem with typeset command:
It is behaving differently in different machines.
Machine 1:
/marc_data/marc_project/owb_marc_adaptor/owb_marc_adaptor_load/bin>echo $0
-bash
/marc_data/marc_project/owb_marc_adaptor/owb_marc_adaptor_load/bin>vi fn2.ksh... (6 Replies)
Discussion started by: boopathyvasagam
6 Replies
6. Shell Programming and Scripting
Sorry for the duplicate thread this one is similar to the one in
https://www.unix.com/shell-programming-scripting/88132-awk-sed-script-read-values-parameter-files.html#post302255121
Since there were no responses on the parent thread since it got resolved partially i thought to open the new... (4 Replies)
Discussion started by: rajan_san
4 Replies
7. Shell Programming and Scripting
what is the difference in usage of set, export, typeset while declaring a value to a variable
can any one help
thanks (0 Replies)
Discussion started by: trichyselva
0 Replies
8. UNIX for Dummies Questions & Answers
Hi,
Is there any difference between setting an environment variable by EXPORT and by setenv? (3 Replies)
Discussion started by: dexkid
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
can anybody tell me what is the difference between set and export in unix.
-Ashish (1 Reply)
Discussion started by: shriashishpatil
1 Replies
10. UNIX for Dummies Questions & Answers
Is there any difference between these 2 commands :-
export var="a"
and
var="a"
export var (2 Replies)
Discussion started by: radhika03
2 Replies