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::base
Crypt::Random::Source::Base(3pm) User Contributed Perl Documentation Crypt::Random::Source::Base(3pm)
NAME
Crypt::Random::Source::Base - Abstract base class for Crypt::Random::Source classes
SYNOPSIS
use Moose;
extends qw(Crypt::Random::Source::Base);
DESCRIPTION
This is an abstract base class.
In the future it will be a role.
METHODS
get $n, %args
Gets $n random bytes and returns them as a string.
This method may produce fatal errors if the source was unable to provide enough data.
read $buf, $n, [ $off ]
This method is cannibalized from IO::Scalar. It provides an IO::Handle work-alike.
Note that subclasses override this to operate on a real handle directly if available.
seed @stuff
On supporting sources this method will add @stuff, whatever it may be, to the random seed.
Some sources may not support this, so be careful.
available
This is a class method, such that when it returns true calling "new" without arguments on the class should provide a working source of
random data.
This is use by Crypt::Random::Source::Factory.
rank
This is a class method, with some futz value for a ranking, to help known good sources be tried before known bad (slower, less available)
sources.
get_data %Params
Provided for compatibility with Crypt::Random
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::Base(3pm)