hi
i have a function
abc()
{
//from this function i am passing some args to another function def()
}
def()
{
//Now i need to calculate the no of input args and iterate through them
}
please help (4 Replies)
hi
i have a function
abc
{
//from this function i am passing args to antoher function like
def a b c j k l
}
now i want to count the no of args coming to def() function and iterate over those values
is there any way to do this one
please help (2 Replies)
Hi ,
I have three funcions f1, f2 and f3 .
f1 calls f2 and f2 calls f3 .
I have a global variable "period" which i want to pass to f3 .
Can i pass the variable directly in the definition of f3 ?
Pls help .
sars (4 Replies)
Hi,
I am using SYBASE database. in my script i am connecting to DB via using isql.
isql -U${S_USER} -S${S_SERV} -D${S_DB} -P${S_PWD} -b0 -w3000 -h0 -s"|" -i${MYDIR}/ABC.sql -oXYZ.txt << FINSQL
i am taking a ABC.sql file to use the queries written in it and storing the output in... (3 Replies)
hi,
i have an rpm, and i am looking at the presinstall script. i can see it takes in an argument, but what i do not know is how this argument is passed to the script? is there something that calls the preinstall script? i thought the preinstall script was the first thing executed.
thanks (2 Replies)
Hi all,
I am trying to delete columns in a file using a script. The columns that need to be deleted are passed as arguments to the script.
The script should look like this
> delete_columns.sh <file_name.txt> <column_numbers_to_be_deleted>
The contents of the file_name.txt will be like ... (5 Replies)
My requirement is that I want to pass similar argument to a shell script and process it in the script. Something like below:
myScript.sh -c COMPONENT1 -c COMPONENT2 -a APPNote: -c option can be specified multiple times and -a is optional parameter
I know this can be achieved using... (2 Replies)
Discussion started by: rajdeep_paul
2 Replies
LEARN ABOUT DEBIAN
maria-cso
MARIA-CSO(1) General Commands Manual MARIA-CSO(1)NAME
maria-cso - shared library generator for maria
SYNOPSIS
maria-cso directory library.so file.c...
maria-cso directory library.so file.c
DESCRIPTION
This manual page documents briefly the maria-cso command.
maria-cso is a shell script invoked by maria in order to compile generated C code into dynamically loadable shared object files. The
script invokes the C compiler and the linker, and it calculates checksums in order to avoid compiling unmodified modules.
The directory argument specifies the location of the source files. When the script is invoked with one file.c argument, it translates the
file to the shared object library.so.
When maria-cso is invoked with multiple file.c arguments, it computes a checksum of a file named multiset.h and of each argument. When the
header file multiset.h has been changed since the previous invocation of maria-cso, everything will be recompiled. Otherwise only those
file.c modules that have been modified will be recompiled. The checksum files are multiset.sum and c.sum.
SEE ALSO maria(1), sh(1).
ENVIRONMENT VARIABLES
CC Name of the C compiler
CFLAGS Command-line switches to be passed to the C compiler
DEFINES
Preprocessor macro definitions to be passed to the C compiler
FILES
/usr/share/maria/runtime/*.h
Header files for the run-time library
AUTHOR
This manual page was written by Marko Makela <msmakela@tcs.hut.fi>. The maria-cso script and the compilation option were designed and
implemented by Marko Makela. Please see the copyright file in /usr/share/doc/maria for details.
August 10, 2001 MARIA-CSO(1)