Search Results

Search: Posts Made By: sud
2,571
Posted By sud
Mulitiple conditions in While Do loop.
Hi guyz,

I have a WHILE loop which shud DO certain jobs when it satisfies the condition and it does...but I also need to assign a different job if it doesn't satisfy the condition..how can I do...
6,731
Posted By sud
Wait Process in Shell Scripting.
Hello,

I have a script that needs to wait till the previous process is done within the same script.But my script doesnt wait till that it is done.Can anyone suggest how I can stop my process till...
1,640
Posted By sud
Date format Coversion.
Hello guys,

I want to convert my date from '2009 02 28' to '28/FEB/2009'.
Any suggestions would greatly be appreciated.

Thanks,
Sud
1,460
Posted By sud
Thanks Hard_AIX..it worked. How do I call a...
Thanks Hard_AIX..it worked.

How do I call a dififerent script in a script and run the script passing the variables from the current script.

Eg: I have a script ftp_date.ksh in which I...
1,460
Posted By sud
Date format Coversion.
Guys,

1.I need to convert a date from YYYY M D to YYYYMMDD.
- 2009 2 6 to 20090206

2.When the month or day are inbetween 1-9 I need to add a 0 infront of month or day so that the output...
2,110
Posted By sud
Changing Date format
How to change a date stored in a variable to YYYYMMDD.

Variable output is in DD-MON-YY,required format is 'YYYYMMDD'

Thanks,
Sud
56,683
Posted By sud
Thank you Sir but how do I use shift_date...
Thank you Sir but how do I use shift_date code..do I need to put it in some libraries? I created shift_date.ksh file by copying it from windows text file but ended up with ^M and I removed ^M using...
56,683
Posted By sud
Hard_AIX, When I run those 3 lines I get the...
Hard_AIX,
When I run those 3 lines I get the output as '2/25/09'.

But I want the date to be calculated from the variable date.

Eg:
When I run the below code I still get the output as...
56,683
Posted By sud
Thanks for your input hard_aix but ...
Thanks for your input hard_aix but
date2=$(/opt/freeware/bin/date --date="$date1" -d "+5 day" +"%D") isnt working,I tried exploring the --date but Im still having issues converting string to the...
56,683
Posted By sud
I need to add days to a variable which stores the...
I need to add days to a variable which stores the date.

Eg: If my variable date is 2/19/2009,I need to add 7 days so my output date should be 2/26/2009.

vdt2= $vdt2 + 7 (where $vdt2 is the...
56,683
Posted By sud
Thanks for your reply hard_aix,it really works. ...
Thanks for your reply hard_aix,it really works.
U ROCK !!!
56,683
Posted By sud
Adding days to an input date.
Hello Unix gurus,

I need to add days to the input date and further use it in comparision with the existing date.
Im having issues sto add days to date,can you guys help me with script or...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 01:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy