05-27-2011
Hi Tytalus,
Thanks for your time....
What I need is, for example I am providing the input as 01-01-2011.
The system should accept it and increment it by one month and should display the output as 01-02-2011.
Similarly if the input is 01-12-2011, the output should be 01-01-2012.
Any solution for this will be of great help.....
Cheers.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I would like to find out how can i calculate a date which is 3 months ago. I intend to run a cron job on the 1st of every month, and calculate the month 4 months earlier from the date. For example, if today's date is 1st May 2007, i would like to return 012007( January 2007).
i can get... (1 Reply)
Discussion started by: new2ss
1 Replies
2. 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
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... (4 Replies)
Discussion started by: andrea_mussap
4 Replies
4. Programming
stupid question (0 Replies)
Discussion started by: puttster
0 Replies
5. Shell Programming and Scripting
I am new to shell scripting and doing a similar thing @ work
Stan:Smith:Detroit:MI
Jim:Jones:Farmington Hills:MI
Jack:Frost:Denver:CO
Sue:Apple:New York:NY
Cindy:Thompson:Battle Creek:MI
John:Smith:Denver:CO
George:Jones:New York:NY
Need to create a shell script This script will display... (1 Reply)
Discussion started by: jakemathew
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I'm curious to know if we can display 5 months of a calendar using the cal command. I know we can three successive months (cal -3) but I wanted to know if we can do it with 5 months for example. (Give a specific month, and get as a result two previous months + the month in question + two... (12 Replies)
Discussion started by: Imane
12 Replies
7. Shell Programming and Scripting
Please find my below requirement and see if you can help me on this. I am looking for a shell script which can provide me the below output.
Manuall steps which i am doing now
1) First I source the File
$ . ./WC_env.sh
2) Execute the command
$ /app/oracle/product/mos/bin/mosotl -url... (2 Replies)
Discussion started by: sudheshpn@gmail
2 Replies
8. Shell Programming and Scripting
hi all i have a reporting work and i want it to be automated using shell scripting kindly let me know how can i make that possibe .
eg data are :... (2 Replies)
Discussion started by: Avinash shaw
2 Replies
9. Shell Programming and Scripting
Hi,
I need to calculate the average of the following values using shell scripitng.
Can anyone please suggest a solution?
... (10 Replies)
Discussion started by: karan pratap si
10 Replies
10. UNIX for Beginners Questions & Answers
topfunc()
{
top
}
topfunc
Here i used the top command inside a function,and i called the function.
when executing this bash file i get all the process which are using by the kernel
i just want to display only the first 5 running process.
is it possible? (7 Replies)
Discussion started by: Meeran Rizvi
7 Replies
LEARN ABOUT DEBIAN
zrot.f
zrot.f(3) LAPACK zrot.f(3)
NAME
zrot.f -
SYNOPSIS
Functions/Subroutines
subroutine zrot (N, CX, INCX, CY, INCY, C, S)
ZROT
Function/Subroutine Documentation
subroutine zrot (integerN, complex*16, dimension( * )CX, integerINCX, complex*16, dimension( * )CY, integerINCY, double precisionC,
complex*16S)
ZROT
Purpose:
ZROT applies a plane rotation, where the cos (C) is real and the
sin (S) is complex, and the vectors CX and CY are complex.
Parameters:
N
N is INTEGER
The number of elements in the vectors CX and CY.
CX
CX is COMPLEX*16 array, dimension (N)
On input, the vector X.
On output, CX is overwritten with C*X + S*Y.
INCX
INCX is INTEGER
The increment between successive values of CY. INCX <> 0.
CY
CY is COMPLEX*16 array, dimension (N)
On input, the vector Y.
On output, CY is overwritten with -CONJG(S)*X + C*Y.
INCY
INCY is INTEGER
The increment between successive values of CY. INCX <> 0.
C
C is DOUBLE PRECISION
S
S is COMPLEX*16
C and S define a rotation
[ C S ]
[ -conjg(S) C ]
where C*C + S*CONJG(S) = 1.0.
Author:
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
November 2011
Definition at line 104 of file zrot.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
Version 3.4.1 Sun May 26 2013 zrot.f(3)