07-26-2005
some months ego
Hi,
how can I format date function to find n (n=1 to 11) months ego ?
For exemple now we are in july and I want to have a variable presenting april.
How should it be :
month=`date +%b`?????
Many thanks before.
7 More Discussions You Might Find Interesting
1. IP Networking
Ok someone has to be able to help me here.
I have the latest webmin, and i have bind
i have a domain name called
thedigitaldream.co.uk
i have one server, just one as im poor
so the one server is gunna be the dns, email, web and ftp server. Its only for a small site anyway so it will... (16 Replies)
Discussion started by: matt2kjones
16 Replies
2. UNIX for Advanced & Expert Users
Hi all,
Using shell script and awk statements, I manage to get the month and year of the Patch Bundle installed on the system. Now I have to compare month and year of Patch Bundle installed to the Patch Bundle which is desired on the workstation. I am able to do easily comparison of year but not... (1 Reply)
Discussion started by: pankschawla
1 Replies
3. Shell Programming and Scripting
hi,
I have a big file that contains datas since 4 years ago.
I need re-create this file but just lines that are 13 months ago from today.
see what I have: ( I have a file.ksh that calls this file.scl ok !!)
======== file.scl ================
/STATISTICS=stderr
/STABLE
/NODUPLICATES... (3 Replies)
Discussion started by: andrea_mussap
3 Replies
4. Shell Programming and Scripting
hi,
I have a big file that contains datas since 4 years ago.
I need re-create this file but just lines that are 13 months ago from today.
see what I have: ( I have a file.ksh that calls this file.scl ok !!)
======== file.scl ================
/STATISTICS=stderr
/STABLE
/NODUPLICATES... (4 Replies)
Discussion started by: andrea_mussap
4 Replies
5. Shell Programming and Scripting
Hi,
Iam trying to delete 6 months old files.
Iam using the following script
-ctime +190 -type f -exec echo rm {} \;
Iam getting an error saying -ctime not found. (6 Replies)
Discussion started by: Sompalle Jalaja
6 Replies
6. Post Here to Contact Site Administrators and Moderators
I routinely watch for threads that have been unanswered for some time. Recently a rule has been implemented to close threads older than 3 months, which is rather restrictive, because now the last few pages of the unanswered threads section cannot be replied upon, but more importantly eliminates the... (23 Replies)
Discussion started by: figaro
23 Replies
7. Shell Programming and Scripting
Hi,
I have many files of monthly means from model simulation such as 1,2,3,4.....12, corresponding to jan, feb, mar,....., dec.
e.g. avg_1.nc, avg_2.nc, ............., avg_12.nc.
i want to write a shell script such that it should conveet number into months and year such as..... (4 Replies)
Discussion started by: mahesh shinde
4 Replies
LEARN ABOUT DEBIAN
arbitron
ARBITRON(8) System Manager's Manual ARBITRON(8)
*
NAME
arbitron - arbitron mailboxes
SYNOPSIS
arbitron [ -C config-file ] [ -o ] [ -u ] [ -l ] [ -p months ]
[ -d days | -D mmddyyyy[:mmddyyyy] ] mailbox...
DESCRIPTION
Arbitron collects and reports readership statistics for mailboxes on the server. It also optionally prunes the mailboxes of Seen state
for dormant users.
Arbitron produces one line of output per mailbox, reporting the mailbox name followed by a space, followed by the number of readers (and if
-u is specified, followed by a colon and a comma-separated list of the readers userids), and if -o is not specified, another space and the
number of subscribers (and if -u is specified, followed by a colon and a comma-separated list of the subscribers userids). IMPORTANT: This
format is subject to change in future versions.
Each "reader" is a distinct authentication identity which has "s" rights to the mailbox and which has SELECTed the mailbox within either
the past days days or the specified date range. Users are not counted as reading their own personal mailboxes. Personal mailboxes are not
reported unless there is at least one reader other than the mailboxes owner.
Arbitron reads its configuration options out of the imapd.conf(5) file unless specified otherwise by -C.
OPTIONS
-C config-file
Read configuration options from config-file.
-o "old way" -- do not report subscribers.
-u Report userids in addition to the count(s).
-l Enable long reporting (comma delimited table consisting of mbox, userid, r/s, start time, end time).
-d days
Count as a reader an authentication identity which has SELECTed the mailbox within days days. Default is 30.
-D mmddyyyy[:mmddyyyy]
Count as a reader an authentication identity which has SELECTed the mailbox within the given date range. The start date and
optional end date are specified as 2-digit month of the year, 2-digit day of the month, and 4-digit year. If the end date is not
specified, then the current system time is used as the end time.
-p months
Prune Seen state for users who have not SELECTed the mailbox within months months. Default is infinity.
FILES
/etc/imapd.conf
CMU
Project Cyrus ARBITRON(8)