12-31-2014
Just run it as posted; it will list the candidate names.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Can someone please help me with this.
Actually i want to move files from one directory to another directory , But I just want to move files of a specific data range.
For ex:
This is my directory which contains all fine.
/home/Rooh
Then there is a long listing of files.
suppose this... (3 Replies)
Discussion started by: rooh
3 Replies
2. UNIX for Dummies Questions & Answers
hi all,
I'm trying to do a cp only on files I created on a given day or within a certain date range.
What's the best way to do this?
Cheers,
KL (1 Reply)
Discussion started by: ee7klt
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am new to Unix and was trying different ways of how to display the list of file names modified between a given date range in sorting order.I will get the fromdate and Todate from the browser, I need to display the list of all the file names that are modified between the given date... (1 Reply)
Discussion started by: prathima
1 Replies
4. UNIX for Advanced & Expert Users
When I do a ls -lt I get a list of files by date modified from newest to oldest. I would like to be able to copy some files to another directory using a date last modified range (i.e. Apr 30 - May 13) How could I do this?
Thanks,
Joe (4 Replies)
Discussion started by: geauxsaints
4 Replies
5. Shell Programming and Scripting
Hi people
A newbie here, thrown into the deep end. I want to select the group of files with in a range of dates and perform some operation on it. Are there inbuild date libraries i can use?
I did read thru the old posts on this topic. Couldnt get much idea :(, basically want to know how I... (7 Replies)
Discussion started by: zcanji
7 Replies
6. UNIX for Dummies Questions & Answers
Hi,
we have file name appended by date in yymmdd format .. ex: abc090101.dat
I need to copy all the files between abc090101 to abc090331..
could you plz help me..
Thanks. (1 Reply)
Discussion started by: kolariya4u
1 Replies
7. Shell Programming and Scripting
Hi all,
I am using the below script which display the files in the folder with the date range we specify. I want to add extra functionality that,
The listing files should be zipped using gzip. I tried to add exec gzip at the last line but it is not working.
Suggestions please.
... (2 Replies)
Discussion started by: nokiak810
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I want to remove trace files in a particular directory for a specific date range. Currently i can remove based on time (e.g find /path/*.trm -mtime +1000 -exec rm {} \;). But i want to remove .trm files within a date range. E.g to remove .trm files between jan 1 2002 to April 15 2005.
... (3 Replies)
Discussion started by: dollypee
3 Replies
9. UNIX for Dummies Questions & Answers
Dear Friends,
I have HP_ux 11.31 and want to delete some unwanted very old log files between two date range.
Please help in the matter.
Regards,
Bhagawati Pandey (6 Replies)
Discussion started by: BPANDEY
6 Replies
10. UNIX for Dummies Questions & Answers
My unix version is IBM AIX Version 6.1
I tried google my requirement and found the below answer,
find . -newermt “2012-06-15 08:13" ! -newermt “2012-06-15 18:20"
But newer command is not working in AIX version 6.1 unix
I have given my requirement below:
Input:
atr files:
... (1 Reply)
Discussion started by: yuvaa27
1 Replies
LEARN ABOUT NETBSD
dsa_generate_parameters
DSA_generate_parameters(3) OpenSSL DSA_generate_parameters(3)
NAME
DSA_generate_parameters - generate DSA parameters
LIBRARY
libcrypto, -lcrypto
SYNOPSIS
#include <openssl/dsa.h>
DSA *DSA_generate_parameters(int bits, unsigned char *seed,
int seed_len, int *counter_ret, unsigned long *h_ret,
void (*callback)(int, int, void *), void *cb_arg);
DESCRIPTION
DSA_generate_parameters() generates primes p and q and a generator g for use in the DSA.
bits is the length of the prime to be generated; the DSS allows a maximum of 1024 bits.
If seed is NULL or seed_len < 20, the primes will be generated at random. Otherwise, the seed is used to generate them. If the given seed
does not yield a prime q, a new random seed is chosen and placed at seed.
DSA_generate_parameters() places the iteration count in *counter_ret and a counter used for finding a generator in *h_ret, unless these are
NULL.
A callback function may be used to provide feedback about the progress of the key generation. If callback is not NULL, it will be called as
follows:
o When a candidate for q is generated, callback(0, m++, cb_arg) is called (m is 0 for the first candidate).
o When a candidate for q has passed a test by trial division, callback(1, -1, cb_arg) is called. While a candidate for q is tested by
Miller-Rabin primality tests, callback(1, i, cb_arg) is called in the outer loop (once for each witness that confirms that the
candidate may be prime); i is the loop counter (starting at 0).
o When a prime q has been found, callback(2, 0, cb_arg) and callback(3, 0, cb_arg) are called.
o Before a candidate for p (other than the first) is generated and tested, callback(0, counter, cb_arg) is called.
o When a candidate for p has passed the test by trial division, callback(1, -1, cb_arg) is called. While it is tested by the Miller-
Rabin primality test, callback(1, i, cb_arg) is called in the outer loop (once for each witness that confirms that the candidate may be
prime). i is the loop counter (starting at 0).
o When p has been found, callback(2, 1, cb_arg) is called.
o When the generator has been found, callback(3, 1, cb_arg) is called.
RETURN VALUE
DSA_generate_parameters() returns a pointer to the DSA structure, or NULL if the parameter generation fails. The error codes can be
obtained by ERR_get_error(3).
BUGS
Seed lengths > 20 are not supported.
SEE ALSO
openssl_dsa(3), ERR_get_error(3), openssl_rand(3), DSA_free(3)
HISTORY
DSA_generate_parameters() appeared in SSLeay 0.8. The cb_arg argument was added in SSLeay 0.9.0. In versions up to OpenSSL 0.9.4,
callback(1, ...) was called in the inner loop of the Miller-Rabin test whenever it reached the squaring step (the parameters to callback
did not reveal how many witnesses had been tested); since OpenSSL 0.9.5, callback(1, ...) is called as in BN_is_prime(3), i.e. once for
each witness.
1.0.1i 2009-07-20 DSA_generate_parameters(3)