10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Team,
input text:... (7 Replies)
Discussion started by: chandana.hs
7 Replies
2. Shell Programming and Scripting
Hi,
Have assigned values in Array and iterating in while loop and would require values outside of the loop. But its returning NULL.
could you please help us how to define Global array declaration in Unix shell scripting?
i am using Kron shell.
Thanks in advance. (2 Replies)
Discussion started by: periyasamycse
2 Replies
3. Shell Programming and Scripting
how to check
1. If variable is declared or not
2. If any value if assigned to variable or not.
in UNIX shell script (6 Replies)
Discussion started by: ace_friends22
6 Replies
4. Shell Programming and Scripting
this is my code
declare -a USERCERT
declare -a CACERT
declare -a KEYSRC
this is the error
+ declare -a USERCERT
./clone.sh: 1: declare: not found
+ declare -a CACERT
./clone.sh: 1: declare: not found
+ declare -a KEYSRC
./clone.sh: 1: declare: not found (11 Replies)
Discussion started by: xerox
11 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I have a problem with the declaration of a function.
This is how I declare the function :
c:63: void foo(threadpool *tp,void (*func)(void*), (void*)arg);
Inside main, I call it like this:
main(){
..........
threadpool y;
c:104: ... (4 Replies)
Discussion started by: garag11
4 Replies
6. Shell Programming and Scripting
Hi Guys,
What does this mean actually ? Can somebody give me any explanation ?
x=${x:=1}
Thanks (2 Replies)
Discussion started by: amit.behera
2 Replies
7. Solaris
Dear all,
i m unable to give array decalartion in solaris Operating system shell script
and script was so.sh
declare -a bull
for i in 1 2 3 4 5 6 7 8 9
do
bull=$i
echo "${bull}"
done
it is throwing an error called
so.sh: declare: not found
so.sh: bull=1: not... (20 Replies)
Discussion started by: naree
20 Replies
8. Shell Programming and Scripting
I am just stucked in syntax.This is more like a array and for loop problem.
I want to use ls -l command and get filezise and filename of all filenames in the directory in an array (say array#1).
After 2 minutes of sleep, i want to get the same information in another array (say array#2).
The... (4 Replies)
Discussion started by: 33junaid
4 Replies
9. Shell Programming and Scripting
I declared a variable x that gets the count(*) from a table. The table name is also defined as a variable.
What's wrong with this statment :
X=” select count(*) from ${table_name}“
then
y = `${X}${table_name}'
echo ${y}
It throws an error saying count not found.
Please... (1 Reply)
Discussion started by: dsravan
1 Replies
10. Programming
what does this mean when a variable is declared as
register int i;
Thanks. :confused: (2 Replies)
Discussion started by: laila63
2 Replies