Sponsored Content
Full Discussion: Need a Script(Urgent)
Top Forums Shell Programming and Scripting Need a Script(Urgent) Post 73822 by tom_xx_hu@yahoo on Sunday 5th of June 2005 09:31:51 PM
Old 06-05-2005
CPU & Memory

How much are you willing to pay for the scripting udayben? Since it is urgent, how much are you willing to pay for express?

I am not tricking you. Being a newbie or not does not imply the privilege of having someone else do your job.

Everyone here is willing to help each other. That is why we are here. One just needs to ask right question instead of specifying requirement and expecting a product/service.

Let me see if I can help with your logic (quoted with a bit re-layout):

------------------------------------------------------
Load ProgramA
If (result is Pass)
{
Load programB(i)
# where variable i should be selectable for
#different version of programB. I should be able to
#track Pass/Fail values for different version of
#programB.
return(pass/ fail)
If( no of pass> no of fail)
{ Load programA}
else { load programB(i) }
} else {
load prgramA(n) #able to load prgramA 'n' no.of times
}
------------------------------------------------------

There seems no loop defined. Where do the "no of pass" and "no of fail" come from?

Good luck,
Tom
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script - Urgent Help

Hi guys, i really need some urgent help on a few things I'm an extreme unix novice, Can you guys please help me with a couple of questions. I am in no way asking anyone to do it for me, but i am really asking for some extremely in depth help. I know alot of this is very second nature to... (4 Replies)
Discussion started by: troy86
4 Replies

2. Shell Programming and Scripting

[urgent need help] about script

hi experts, i'm new on scripting on solaris 8 sparc, need some advices. i have some data in a file like : 20061221 163826.485 20061221 163925.144 058.659 6123456789012 00000E8A 047 08 002 465 00010022 510105642138069 20061221 163915.163 20061221 163925.336 010.173 6123456789012 00000F4F... (6 Replies)
Discussion started by: bucci
6 Replies

3. Shell Programming and Scripting

[urgent need help] unix script....

hi experts, i'm new in scripting unix i have some problem with my script below is shown my script : #!/bin/sh BASEDIR=/export/home/mapadm BINDIR=$BASEDIR/bin LOGDIR=$BASEDIR/log TDRDIR=$LOGDIR/TDR BACKUPDIR=/data/log export BASEDIR BINDIR LOGDIR TDRDIR BACKUPDIR YEAR=`date '+%Y'`... (21 Replies)
Discussion started by: bucci
21 Replies

4. UNIX for Dummies Questions & Answers

Urgent Script Needed

I need shell script code for the following 1. Read syscat.columns after connecting to DB2 using SQL cursor 2. Read the output of the previous SQL command in the shell script 3. Perform insertions and deletions in the output of step 1 Thanks (1 Reply)
Discussion started by: skyineyes
1 Replies

5. Shell Programming and Scripting

sed script help urgent

Collegues I am dealing with raw text files which is extracted from web pages. I have to find sentances which contains more than 99 words and have to put a "." after the 99th or 98 th word . Is there any possiblity to it in sed or awk With regards Jaganadh.H (5 Replies)
Discussion started by: jaganadh
5 Replies

6. Shell Programming and Scripting

I want an urgent script

Hi I want a script which reads a file and ftped the content of that file into another server.The file saved in new location as filename.date (3 Replies)
Discussion started by: Renjesh
3 Replies

7. Shell Programming and Scripting

(Urgent):Creating flat file using sql script and sqlplus from UNIX Shell Script

Hi, I need help urgently for following issue. Pls help me to resolve this issue. I am calling sql script file(file1.sql) from UNIX Shell Script(script1.ksh) using sql plus and trying to create flat file that contains all records returned from SQL query in SQL script(file1.sql) I given... (6 Replies)
Discussion started by: praka
6 Replies

8. Shell Programming and Scripting

URGENT Reading a file and assessing the syntax shell script URGENT

I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies
Module::Load(3pm)					 Perl Programmers Reference Guide					 Module::Load(3pm)

NAME
Module::Load - runtime require of both modules and files SYNOPSIS
use Module::Load; my $module = 'Data:Dumper'; load Data::Dumper; # loads that module load 'Data::Dumper'; # ditto load $module # tritto my $script = 'some/script.pl' load $script; load 'some/script.pl'; # use quotes because of punctuations load thing; # try 'thing' first, then 'thing.pm' load CGI, ':standard' # like 'use CGI qw[:standard]' DESCRIPTION
"load" eliminates the need to know whether you are trying to require either a file or a module. If you consult "perldoc -f require" you will see that "require" will behave differently when given a bareword or a string. In the case of a string, "require" assumes you are wanting to load a file. But in the case of a bareword, it assumes you mean a module. This gives nasty overhead when you are trying to dynamically require modules at runtime, since you will need to change the module notation ("Acme::Comment") to a file notation fitting the particular platform you are on. "load" eliminates the need for this overhead and will just DWYM. Rules "load" has the following rules to decide what it thinks you want: o If the argument has any characters in it other than those matching "w", ":" or "'", it must be a file o If the argument matches only "[w:']", it must be a module o If the argument matches only "w", it could either be a module or a file. We will try to find "file.pm" first in @INC and if that fails, we will try to find "file" in @INC. If both fail, we die with the respective error messages. Caveats Because of a bug in perl (#19213), at least in version 5.6.1, we have to hardcode the path separator for a require on Win32 to be "/", like on Unix rather than the Win32 "". Otherwise perl will not read its own %INC accurately double load files if they are required again, or in the worst case, core dump. "Module::Load" cannot do implicit imports, only explicit imports. (in other words, you always have to specify explicitly what you wish to import from a module, even if the functions are in that modules' @EXPORT) ACKNOWLEDGEMENTS
Thanks to Jonas B. Nielsen for making explicit imports work. BUG REPORTS
Please report bugs or other issues to <bug-module-load@rt.cpan.org<gt>. AUTHOR
This module by Jos Boumans <kane@cpan.org>. COPYRIGHT
This library is free software; you may redistribute and/or modify it under the same terms as Perl itself. perl v5.18.2 2013-11-04 Module::Load(3pm)
All times are GMT -4. The time now is 04:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy