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)
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)
Hi All,
I have a xml file for example as described below
<xml>
<address>
<street><street>
<address/>
<isbn>426728783932020308393930303</isbn>
<book>
<name>
</name>
</book>
.
.
.
</xml>
My problem is to get the isbn number from the above described file using ksh script. Could... (6 Replies)
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)
Good day. I am doing an enq -WA (AIX), to get a list of the print queues, I then compare that to the /etc/hosts file to 'match' the IP address associated with the print queues. What I want to do is to run a traceroute with up to 5 hops, and perform an output to a file with some "specific items".... (0 Replies)
Hi all, I've done some searching here but haven't found exactly what I'm looking for so I thought I'd post up and see if someone can help out.
I'm working on a shell script that I would like to store environment variables in an external file. I'm familiar with sourcing a file with variables in... (1 Reply)
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)
Hi All,
Although I was able to find past XML parsing questions, as the questions were a little different than this, I had a pretty hard time adapting those answers to this scenario.
-> May I ask if anyone knows how to extract the IP addresses of the below "servers.xml" file into an array... (5 Replies)
Hi. I have a piece of code that reads and parses command line options. I'd like to alter it slightly to read from a string (that's set elsewhere in the script) rather than directly from the command line (arg). Can somebody show me how to do this? Many thanks.
My code is as follows:
typeset... (6 Replies)
Discussion started by: user052009
6 Replies
LEARN ABOUT DEBIAN
ecaccess-event-grant
ECACCESS-EVENT-GRANT(1p) User Contributed Perl Documentation ECACCESS-EVENT-GRANT(1p)NAME
ecaccess-event-grant - Grant usage of an ECaccess Event
SYNOPSIS
ecaccess-event-grant -version|-help|-manual
ecaccess-event-grant [-debug] [-subscribe] [-notify] event-id user-list
DESCRIPTION
Allow managing the Event permissions for a list of user(s).
The permissions can be either subscribe, notify, both or none. In order to remove permissions to an Event for a list of users use this
command with no -subscribe and -notify options.
ARGUMENTS
event-id
The identifier of the Event to grant.
user-list
The user(s) to give/remove the permissions. Multiple users should be separated by a column (e.g. abc,def).
OPTIONS -subscribe
The user(s) specified in the user-list will be allowed to subscribe to the event-id (e.g. with the -eventIds option of the
ecaccess-job-submit command).
-notify The user(s) specified in the user-list will be allowed to send notifications to the event-id (e.g. with the ecaccess-event-send
command).
-version
Display version number and exits.
-help Print a brief help message and exits.
-manual Prints the manual page and exits.
-debug Display the SOAP messages exchanged.
EXAMPLES
ecaccess-event-grant -subscribe 167 abc,def,jhi
Allow the users abc, def and jhi to subscribe to this Event.
ecaccess-event-grant 167 jkl
Remove all rights to the Event for the user jkl.
SEE ALSO
ecaccess-event-clear, ecaccess-event-delete, ecaccess-event-send, ecaccess-event-list, ecaccess-event-create and ecaccess.
perl v5.14.2 2012-04-16 ECACCESS-EVENT-GRANT(1p)