Sponsored Content
Full Discussion: Unable to run function
Top Forums Shell Programming and Scripting Unable to run function Post 302693651 by RudiC on Wednesday 29th of August 2012 12:04:42 PM
Old 08-29-2012
too bad! What about the permissons of the batch_functions directory itself? And - can you try to source the script (like . f_fill_testfunc)?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

unable to run a script

thi is (10 Replies)
Discussion started by: angelina
10 Replies

2. Solaris

Unable to run xclock

Hello. I am trying to run xclock on newly built solaris box - These are the steps I followed: # DISPLAY=localhost:0.0 # export DISPLAY # xclock xclock: not found # cd /usr/openwin/bin # ./xclock Error: Can't open display: localhost:0.0 # Please suggest, what am i doing wrong? Thank... (27 Replies)
Discussion started by: panchpan
27 Replies

3. UNIX for Advanced & Expert Users

Unable to execute a function using trap

I have a script A which calls script B. I wrote a function in script A to be executed when Kill command is issued for script A and I invoke that function using the trap command.The function identifies all child process running under script A (in this case script B) and kills the child process and... (3 Replies)
Discussion started by: smohandass
3 Replies

4. Shell Programming and Scripting

unable to return a decimal value from a function

Hi Guys, I am unable to return a decimal value from a function to the main script. I am getting the correct value in the function but when it is returning to the main script using "return" it is coming as 0. Below is my code. read VALUE_V fun_FATHERID fun_SONID fun_TOPID fun_RTYPE <... (2 Replies)
Discussion started by: mac4rfree
2 Replies

5. AIX

unable to run at job

Hi All, I m not able to run at job with normal user on AIX system os version is 5300-05-06. I am able to run at job only with root user. When I try to run at job with any other user I am getting error: at: you are not authorized to use at. Sorry. I checked at.deny file, it is... (4 Replies)
Discussion started by: pkatkade
4 Replies

6. HP-UX

Unable to run some commands in HP-UX

Hi All, I want to get %cpu and %memory utilization for a given process id in HP-UX so am using the following commands 1)TOP -p <PID> am getting error message like Quitting top: pset 26323 doesn't exist,but when am using only TOP command without any options its working fine. 2)ps -e -o pcpu... (5 Replies)
Discussion started by: Ramya_Nm
5 Replies

7. Programming

unable to use a function to crate a joinable thread

In my program, threads may be created when some events trigger. So I can't create threads on initialization. Theremore,I write a createThread() function to create thread. However, it is blocking at first call and don't run anymore? why? #include <pthread.h> #include <stdio.h> #include... (4 Replies)
Discussion started by: sehang
4 Replies

8. Shell Programming and Scripting

Unable to run command after ssh

Hello, I am trying to create a ksh script to login to server and collect gather output of some command to troubleshoot some issue. DATE=`date +%b.%d.%Y.%M.%H` echo " Enter emp id to login to server" read Eid Eid=$Eid echo " Enter hostname of the system" read HOST HOST=$HOST... (2 Replies)
Discussion started by: saurabh84g
2 Replies

9. Programming

Unable to run java in redhat os

I am unable to run java from jdk. it says "cannot execute binary file" I downloaded the jdk again freshly but the problem still persists. All files have execution permission. Both OS and JDK are 64bit. Please help me out. $ pwd /home/XXXXX/apache-tomcat-6.0.18/jdk1.5.0_14/bin $... (2 Replies)
Discussion started by: meetsriharsha
2 Replies

10. Red Hat

Unable to capture value from function

Hi Experts, Am writing a code which need to check for the previous day date and pickup the file as per the previous day date. Problem: Why variable "YDATE" is empty ? O/S: RHEL 5.6 Shell: BASH Desired O/P: ls -lrt /opt/test/user/atsuser.NHU/out/demon.08272017 When I checked the... (3 Replies)
Discussion started by: pradeep84in
3 Replies
KDE-BUILD(1)						User Contributed Perl Documentation					      KDE-BUILD(1)

NAME
kde-build - Updates and recompiles a tree of KDE CVS modules SYNOPSIS
kde-build DESCRIPTION
kde-build has been designed to keep a local copy of several KDE CVS modules up to date and recompile them. Those modules have to be saved in a common directory, e.g. something like ~/kde-src/ | +-> kdelibs/ | +-> kdebase/ | -> kdenetwork/ In this case, the KDE source directory would be ~/kde-src/. The script will take care of compiling them in the correct order, checks for dependencies and resolves them as far as possible. Please not that, prior to first invokation of the script, the configuration file 'kde-buildrc' has to be modified to reflect the local environment, such as paths etc. RETURN VALUE
The following error codes are returned by the script. 0 - No error seems to have occured. 1 - The script could not change into the directory of a module. 2 - The script could not open the file 'Makefile.in' of a module. 3 - The configuration of a module failed. 4 - The compilation of a module failed. 5 - The installation of a module failed. 6 - An invalid source directory was specified. 7 - An invalid Qt directory was specified. 8 - An invalid CVS client was specified. 9 - No cvsup server was specified. 10 - The temporary CVSUP configuration file couldn't be created. 11 - The configuration file kde-buildrc couldn't be loaded. EXAMPLES
cd ~/scripts/; vi ./kde-buildrc; ./kde-build BUGS
Lots, mostly that the script wasn't written with portability in mind and therefore won't run very nice on platforms other than Linux. TODO
Add a DIAGNOSIS section to this man page. AUTHOR
Frerich Raabe <raabe@kde.org> 3rd Berkeley Distribution perl v5.6.1 KDE-BUILD(1)
All times are GMT -4. The time now is 03:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy