4 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Legends,
how do i get 3rd week of friday in every month and execute a particular script say /tmp/abc.sh ???
i think after "cal" we can traverse through using some for loop.:wall:
pls help me.
Dosanjh (8 Replies)
Discussion started by: sdosanjh
8 Replies
2. Shell Programming and Scripting
Hi,
I need to get the date of last friday of every month. how can i achieve this ? please guide me.
Thanks in advance (3 Replies)
Discussion started by: apsprabhu
3 Replies
3. Shell Programming and Scripting
Help please! I need to read the calendar and put the date of the third Friday of each month into a variable for comparison in an "if" statement. How would I do this?
Thnx,
leslie02 (10 Replies)
Discussion started by: leslie02
10 Replies
4. Shell Programming and Scripting
I am trying to write a script that shows every Friday in a month.
I used
cal $1 $2 | grep -v "^$" | awk '{print $6}'
It doesn't work for the frist week of Friday because calendar command output has some spaces in the first line and awk '{print $6}' doesn't work. Anybody help
me with this... (3 Replies)
Discussion started by: LAY
3 Replies
LEARN ABOUT DEBIAN
crypt::random::source::factory
Crypt::Random::Source::Factory(3pm) User Contributed Perl Documentation Crypt::Random::Source::Factory(3pm)
NAME
Crypt::Random::Source::Factory - Load and instantiate sources of random data
SYNOPSIS
use Crypt::Random::Source::Factory;
my $f = Crypt::Random::Source::Factory->new;
my $strong = $f->get_strong;
my $weak = $f->get_weak;
my $any = $f->get;
DESCRIPTION
This class implements a loading and instantiation factory for Crypt::Random::Source objects.
If $ENV{CRYPT_RANDOM_NOT_PLUGGABLE} is set then only a preset list of sources will be tried. Otherwise Module::Find will be used to locate
any installed sources, and use the first available one.
METHODS
get %args
Instantiate any random source, passing %args to the constructor.
The "type" argument can be "weak", "strong" or "any".
get_weak %args
get_strong %args
Instantiate a new weak or strong random source.
AUTHOR
Yuval Kogman <nothingmuch@woobling.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Yuval Kogman.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2011-01-05 Crypt::Random::Source::Factory(3pm)