At first I only move file with a specific extension (.ext) and if it succeeds, deletes the directory it was contained it.
For now the code is like this
What it does :
Move the files "name.of.file.and.dir*.ext" to "/volume1/my/dir/Subname" and then delete the directory "name.of.file.and.dir*"
I call every functions manualy and each of them contains the function FindMoveDelete.
It kinda looks ugly but it works. If you have a better idea I m all hears, at first I only wanted to run a file containing each of those functions for a script to read and end at the end of the file (loop?)
Anyways don't go knock your head on a wall for this, it was just a simple question at first. it's working as it is
Edit : Just took an other look at your last bit of code and it's interesting. Playing with IFS.. I ll test it out!
Thanks mate
Is it possible to call a C function from within a shell script. This C function is part of an API. What do I need to make it work from my shell script. Anybody please help. (4 Replies)
i have a function defined in one ksh (ksh 1)
i want to use that function in another ksh (ksh 2)
i am using
. $<directoryname>/<ksh name>
i am calling the function defined in ksh 1 in ksh 2
i want the returnstatus from the above operation
but it is not executing the function
what i... (1 Reply)
Hi,
I have searched the forum for the query, But i didnt find an exact answer.
I have a script(1.sh) and a c program(sample.c)
sample.c contains many function definitions.( run(), find(), add() etc).
I want to call functions in sample.c from 1.sh and use the return value in 1.sh... (3 Replies)
Hi,
I have a query ..
i have 2 scripts say 1.sh and 2.sh
1.sh contains many functions written using shell scripts.
2.sh is a script which needs to call the functions definded in 1.sh
function calls are with arguments.
Can some one tell me how to call the functions from 2.sh?
Thanks in... (6 Replies)
Some Code
After Some code part is executed the control doesnt go to rvin_doxx_scrt.. and the script exits
rvin_doxx_scrt()
{
Some Code
}
if (som code)
... (4 Replies)
Hi,
I have a K shell
a.ksh
function abc {
// Some logic
}
In
b.ksh
i have included the a.ksh
./a.ksh
I want to call the abc function from this b.ksh script.
Thanks
Vijay (2 Replies)
hi guys, how r u???
please I need you, help me please.
I have a shell, in this shell i have this function and another code lines, this function is getting date one day back. the function is in the same shell (FILE 1)
Now I need put this function in another file (FILE 2) and calling... (4 Replies)
This is my function which is creating three variables based on counter & writing these variable to database by calling another function writeRecord
but only one record is getting wrote in DB.... Please advise ASAP...:confused:
function InsertFtg
{
FTGSTR=""
echo "Saurabh is GREAT $#"
let... (2 Replies)
I need to
1.Open a csv
2.Process the csv i.e. Modify 2 column in the csv.
To modify the column the value needs to be passed to a pl/sql function and the return value should be updated
For eg:
If column 2 E,then E will be passed in database function
which will return Employee.
3. Write a... (5 Replies)
Hello All,
I am trying to call a function from the calling main program from a dlopened library function, below is the entire code, when I execute it it crashes with sigill. Can you guys help me out I guess I am missing out on the linker flag or something here. besides I am new to AIX and... (1 Reply)
Discussion started by: syedtoah
1 Replies
LEARN ABOUT DEBIAN
kadu-config
KADU(1) General Commands Manual KADU(1)NAME
kadu-config - script to get information about the installed version of kadu
SYNOPSIS
kadu-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] [--data-dir] [--modules-dir] [--qt-moc-dir]
DESCRIPTION
kadu-config is a tool for retrieving the library/include paths kadu was compiled with. Useful for folks compiling their own Kadu modules
outside the main source tree.
kadu-config is based on xmms-config from the XMMS package.
OPTIONS
kadu-config accepts the following options:
--prefix[=DIR]
If specified, use DIR instead of the installation prefix that kadu was built with when computing the output for the --cflags and
--libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be specified
before any --libs or --cflags options.
--exec-prefix[=DIR]
If specified, use DIR instead of the installation exec prefix that kadu was built with when computing the output for the --cflags
and --libs options. This option must be specified before any --libs or --cflags options.
--version
Print the currently installed version of kadu on the standard output.
--libs Print the linker flags that are necessary to link kadu to a program.
--cflags
Print the compiler flags that are necessary to compile a program that uses kadu.
--data-dir
Print the directory that the kadu's icons, emoticons and sounds themes are installed in.
--modules-dir
Print the directory that the kadu's modules keep their description and data files.
--qt-moc-dir
Print the directory that the Qt's moc compiler is installed in.
AUTHOR
kadu was written by Kadu Team (see /usr/share/kadu/doc/AUTHORS file for details).
Copyright (C) 2007, 2008 Patryk Cisek <patryk@debian.org>
This manual page was written by Patryk Cisek <patryk@debian.org> for the Debian project, based heavily on the xmms-config manual by
Christopher Martin <chrsmrtn@debian.org> and may be used by others. This manual may be distributed under the terms of GPL license version
2, or (at your opinion) any later version. On Debian GNU/Linux system, the complete text of the GNU General Public License can be found in
`/usr/share/common-licenses/GPL'. If you're not using Debian, you may also find full text of the license at http://www.gnu.org/licenses/.
KADU(1)