10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I am working in production support environment
And I have a lot of checks done daily on system
And depended on values I take specific decision
I am going to develop script to do general operation task
But my problem is this script will be a running process 24 hours
I... (5 Replies)
Discussion started by: maxosmanpad
5 Replies
2. Shell Programming and Scripting
Hi,
I am novice in PERL enviornment. I have a text files withso many entries in rows and columns. I have to pick up entries
named as "Uniprot ID" in the file and create a new text file with list of particular Uniprot ID entries. Can anybody guide regarding this.. I came to know abut fgrep... (1 Reply)
Discussion started by: manigrover
1 Replies
3. Programming
Dear friends,
Before putting my questions forward, I would like to put some data infront of you, hope you will help me at the end.
This website
Cray-Cyber - Welcome
provides free access to many supercomputers and mainframe computers. When you login through ssh, they provide you with a screen,... (5 Replies)
Discussion started by: gabam
5 Replies
4. UNIX for Advanced & Expert Users
Dear friends,
Before putting my questions forward, I would like to put some data infront of you, hope you will help me at the end.
This website
Cray-Cyber - Welcome
provides free access to many supercomputers and mainframe computers. When you login through ssh, they provide you with a screen,... (0 Replies)
Discussion started by: gabam
0 Replies
5. Linux
Evening all,
Im trying to get a script that will:
Select the most 3 recent files in a specific directory
Run a command on them (like chmod)
Ask of you would like to continue
Copy the files to another directory
If a linux guru could help me out, it would be very much appreciated.
Thanks... (2 Replies)
Discussion started by: Wiggins
2 Replies
6. UNIX for Advanced & Expert Users
Scenario:
Command used to capture IPs on a host:
/usr/sbin/ifconfig -a | grep "inet" | egrep -v "inet6|0.0.0.0|192.168.100.2" | awk '{print $2}'
Following for loop used to capture interface names:
for INTERFACE in `/usr/sbin/ifconfig -a | nawk '$1 ~ /:$/ && $1 {sub(":$", "", $1); print... (3 Replies)
Discussion started by: ak835
3 Replies
7. Shell Programming and Scripting
/usr/sbin/ifconfig -a | grep "inet" | grep -v "inet6" | grep -v "127.0.0.1" |
grep -v "0.0.0.0"|grep -v "192.168.100.2" | awk '{print $2}'
I use above command to get IP addresses on AIX boxes.Values coming here are set to a variable "Host IPs.IP Addresses" in my fingerprinting engine.
... (4 Replies)
Discussion started by: ak835
4 Replies
8. Shell Programming and Scripting
Hi I need some major help with eval
I have a statement using eval:
read input
eval variable$input=”something”
Now I want to use the “variable$input” in some commands but I don't know how to call it without replacing the $input with the command line value (which I obviously can't do).
... (1 Reply)
Discussion started by: Cactus Jack
1 Replies
9. Shell Programming and Scripting
----------
This is perl, v5.6.1 built for MSWin32-x86-multi-thread
(with 1 registered patch, see perl -V for more detail)
----------in win 2000 advanced server,..
i am somewhat comfortable with perl but i am new to perl modules..
when i tried to install xml::simple and xml::parser
there... (4 Replies)
Discussion started by: sekar sundaram
4 Replies
10. Linux
i'm a grad student taking a UNIX course and a networks course (i have a background in C++ and JAVA). i'm trying to combine the two classes.
My questions stems from a networks programming homework assignment below:
"Using the operating system and language of your choice, develop a program to... (5 Replies)
Discussion started by: trostycp
5 Replies
Mail::Milter::Wrapper(3pm) User Contributed Perl Documentation Mail::Milter::Wrapper(3pm)
NAME
Mail::Milter::Wrapper - Perl extension for wrappering milter objects
SYNOPSIS
use Mail::Milter::Wrapper;
my $milter = ...;
my $wrapper = new Mail::Milter::Wrapper($milter, &foo);
use Sendmail::Milter;
...
Sendmail::Milter::register('foo', $wrapper, SMFI_CURR_ACTS);
DESCRIPTION
Mail::Milter::Wrapper wraps another milter, allowing for interception of the passed arguments and/or return code of the contained milter.
METHODS
new(MILTER, CODEREF[, CALLBACK ...])
Creates a Mail::Milter::Wrapper object.
MILTER is the milter to wrap, which may be a plain hash reference or an instance of a hashref object such as "Mail::Milter::Object".
CODEREF is the wrapper subroutine. CALLBACKs, if specified, are named callbacks which are needed by the wrapper, even if the contained
milter does not use them.
The wrapper subroutine will be called with the following arguments, in this order:
* reference to the wrapper
* name of callback
* subroutine reference to call into the wrapped milter
* arguments for the callback (>= 0)
This subroutine should ALWAYS pass the "close" callback through to the contained milter. Failure to do so may corrupt the contained
milter's state information and cause memory leaks.
As an example, a simple subroutine which just passes the callback through might be written as:
sub callback_wrapper {
shift; # don't need $this
my $cbname = shift;
my $callback_sub = shift;
&$callback_sub(@_);
}
AUTHOR
Todd Vierling, <tv@duh.org> <tv@pobox.com>
SEE ALSO
Mail::Milter, Sendmail::Milter
perl v5.8.8 2004-02-26 Mail::Milter::Wrapper(3pm)