10-26-2009
Thanks fpmurphy for the clarification.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I'm new to unix scripting.How can i call a script from another script.
I have a.ksh and b.ksh .I have to call b.ksh from a.ksh after it is successfully exceuted.
I tried using
#!/bin/ksh -x in a.ksh and at the end i have used /path/b.ksh
My problem is it is executing only a.ksh.it... (6 Replies)
Discussion started by: ammu
6 Replies
2. Shell Programming and Scripting
I normally trace a script with the ksh -x <script name> and redirect strderr to file. But if you have a script like the examble below......
vi hairy
bear=`grep bear animals`
if
then
ksh more_animals
fi
If I ksh -x hairy it won't trace "more_animals" unless I put a -x in it. Is... (1 Reply)
Discussion started by: shorty
1 Replies
3. Shell Programming and Scripting
Ih all,
i have multiples ksh scripts for crontab's unix jobs
they all have same variables declarations and some similar functions
i would have a only single script file to declare my variables, like:
var1= "aaa"
var2= "bbb"
var3= "ccc"
...
function ab { ...}
function bc { ... }... (2 Replies)
Discussion started by: wolfhurt
2 Replies
4. Shell Programming and Scripting
Hi,
I need some help with the Ksh scripting....
I have a Script call Mail.ksh which calls Crank.ksh which calls Readdates.ksh whoch calls mindiff.ksh
the output of mindiff.ksh and Readdates.ksh are wirtten to a text file...
Here is how each file is called or executed...
./Mail.ksh 30... (3 Replies)
Discussion started by: bhagya2340
3 Replies
5. Shell Programming and Scripting
Hi
I am new to this Scripting process and would like to know How can i write a ksh script that will call other ksh scripts and write the output to a file and/or email.
For example
-------
Script ABC
-------
a.ksh
b.ksh
c.ksh
I need to call all three scripts execute them and... (2 Replies)
Discussion started by: pacifican
2 Replies
6. UNIX for Dummies Questions & Answers
Hi ,
What is the diffence between executing the script like
./myscript.ksh
. ./myscript.ksh
I have found 2 difference but could not find the reason
1. If i export a variable in myscript.ksh and execute it like . ./myscript.ksh the i can access the other scripts that are present in... (5 Replies)
Discussion started by: max_hammer
5 Replies
7. Shell Programming and Scripting
I'm getting different behaviour when executing below script in debug option.
$ cat ss.ksh
ff=$(pwd)
echo " ff : $ff"
$ ksh ss.ksh
ff : /tmp
$ ksh -x ss.ksh
+ + pwd
ff=
+ echo ff :
ff :
I was getting this behaviour in my actuall script i'm able to reproduce this in simple script... (4 Replies)
Discussion started by: luckybalaji
4 Replies
8. Shell Programming and Scripting
Hi,
I have command like this with ooutput :
unix>tnsping abc
TNS Ping Utility for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Production on 17-AUG-2011 17:06:11
Copyright (c) 1997, 2007, Oracle. All rights reserved.
Used parameter files:
/opt/oracle/network/admin/sqlnet.ora
... (19 Replies)
Discussion started by: talashil
19 Replies
9. Shell Programming and Scripting
I have the following file:
one two three four
man women
yes no place togo
bad sleep
I need to move all lines that have only two words(columns) in a separate file and the rest in a separate file...
I used :
for $linecont in $(cat $filename); do
echo $linecont > temp
line1='cat... (7 Replies)
Discussion started by: daimne
7 Replies
10. Shell Programming and Scripting
Hi Dears
kindly I am new here ...I want to ask your help ...
I want to write AWK command when enter date like 20140129 plus 9 then it gives me 20140207 I wrote below but the result was wrong
#!/bin/ksh
echo "please input the data:"
read a
if echo $a|awk '{if... (15 Replies)
Discussion started by: shaho87
15 Replies
LEARN ABOUT SUSE
ggz.modules
ggz.modules(5) GGZ Gaming Zone ggz.modules(5)
NAME
ggz.modules - GGZ Gaming Zone module configuration file
DESCRIPTION
The GGZ Gaming Zone uses the file ggz.modules in order to configure which game modules are properly installed. The only approved method of
altering this file is using the ggz-config utility, however the file structure is documented here in order to facilitate manual repairs if
necessary.
PARAMETERS
The ggz.modules file is formattted in sections, each of which begins with a [SectionID] line. The first (required) section is [Games].
This section is followed by any number of game-specific sections named [g#].
The [Games] section is formatted as follows:
[Games]
*GameList* = GameName1 GameName2 ...
GameName1 = g1 g2 ...
GameName2 = g3 ...
*GameList*
Should be set to a list of all the game names which are currently installed. Each name should appear once and only once, and should
be the internal game name (eg: NetSpades) and not the full descriptive name of the game.
GameNameX
Should equal a game name from the *GameList*, a real world example would be NetSpades. It should be set to a list of unique game
section ID's of the form g#. Each game section ID must be the name of a section ID which follows in the file. The ID's need not be
in any specific order, and ID numbers may be skipped but NOT repeated.
A game section is formatted as follows:
[g#]
Author = Game's Author
CommandLine = /path/to/command [optionlist]
Frontend = FECODE
Homepage = URL to Game's homepage
Name = GameName
Protocol = ProtocolVersion
Version = GameVersion
Most of these parameters are self explanatory, however the following may need clarification:
[g#] This section code ID must be present in one of the game lists in the [Games] section above.
FECODE The frontend code should be set to either gtk or kde depending on which user interface the game was designed for. Note that the
game is expected to work with either the GTK+ or KDE clients, assuming that the user has the proper windowing system installed.
GameName
This must equal the game name (in the [Games] section) which properly points to this [g#] section.
ProtocolVersion
This will be used to match an installed game client with the protocol version currently used by the game server. This allows a new
game client to be installed, while retaining the old client for backwards compatibility with older servers.
GameVersion
This is simply the version of the game client itself. It need not be the same version as the game server as long as the Proto-
colVersion ID matches.
FILES
@ggzconfdir@/ggz.modules
AUTHORS
The GGZ Development Team <ggz-dev@mail.ggzgamingzone.org>
SEE ALSO
ggz-config(6), ggz(7)
The GGZ Development Team 0.0.14 ggz.modules(5)