10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm able to read & print an array in varaible called "filelist"
I need to pass this array variable to a function called verify() and then read and loop through the passed array inside the function.
Unfortunately it does not print the entire array from inside the funstion's loop.
#/bin/ksh... (5 Replies)
Discussion started by: mohtashims
2. Shell Programming and Scripting
Please help me on this
my script name is send.csh
In this i have written the statement like this
set args = ( city state country price )
I want to pass this array to another c shell called receiver.csh. and i want to use it in this c shell
how to pass to... (2 Replies)
Discussion started by: SA_Palani
3. Shell Programming and Scripting
I have a array say
how can i pass this full array to a function.
here is the sample code i am using..
echo "FARRAY = $FARRAY"
echo "FARRAY = $FARRAY"
............... (5 Replies)
Discussion started by: Little
4. Shell Programming and Scripting
I want to create an array which can store the strings from the user input in shell script .
I want to store the 5 fruits name in a single array which the user provides . (1 Reply)
Discussion started by: Pkast
5. UNIX for Dummies Questions & Answers
I am developing a Graphical User Interface using GTK. As part of our project I need to take inputs from GTK entries and pass those inputs to shell script and use them in shell script. The problem which struck me is only limited number of inputs are getting passed to shell script. For now... (14 Replies)
Discussion started by: kalyanilinux
6. Shell Programming and Scripting
Not sure if this should be in the programming forum, but I believe it will get more response under the Shell Programming and Scripting FORUM.
Am trying to write a customized df script in Perl and need some help with regards to using arrays and file handlers.
At the moment am... (3 Replies)
Discussion started by: newbie_01
7. Shell Programming and Scripting
I have a perl script that opens a text file containing numbers on each line:
The perl script takes these numbers and store them as an array @raw_data, where I can access individual numbers by using $raw_data for the value 755993.... (2 Replies)
Discussion started by: xchen89x
In the below C code , i want to pass the array to a unix shel script.
my script should called as ex myscript 1,2,3
Arun (1 Reply)
Discussion started by: arunkumar_mca
I'm having a requirement where I need to call a C program from a shell script and return the value from the C program to shell script.
I refered a thread in this forum. But using that command in the code, it is throwing an error
Error: bash:... (24 Replies)
Discussion started by: venkatesh_sasi
Iam calling a C program from a Unix shell script. The (C) program reads encrypted username/password from a text file , decrypts and returns the decrypted string.
Is there any way i can return the decrypted string to Unix shell program.
My shell script uses the output of the program to... (11 Replies)
Discussion started by: satguyz