Hi All,
I am trying to generate quarter dates with user giving input as begin date and end date. Example: Input by user:
begin_date = "2009-01-01"
end_date = 2010-04-30"
required output:
2009-01-01 2009-03-31 09Q01
2009-04-01 2009-06-30 09Q02
.
.
till
2010-01-01 2010-03-31 10Q01
... (9 Replies)
How can I do this? Actually I have a file which contains a path
e.g.
/home/john/Music/hello.mp3
and I want to take only the filename (hello.mp3) So, I need to read the file from its end to its start till the character "/"
Is this possible?
Thanks, I am sure you'll not disappoint me here!
Oh,... (9 Replies)
Hi All,
I enter Start date and end date as parameters. I need to capture dates between start date and end date. Please let me know if you have any idea the same.
Thanks in advance.
Nagaraja Akkivalli. (5 Replies)
Hi All,
Want to get all dates and Julian week number for that date between the start date and end date. How can I achive this using perl?
(To achive above functionality, I was connecting to the database from DB server. Need to execute the same script in application server, since databse... (6 Replies)
Hi,
I am trying to remove lines once a string is found till another string is found including the start string and end string. I want to basically grab all the lines starting with color (closing bracket). PS: The line after the closing bracket for color could be anything (currently 'more').... (1 Reply)
I have a file as follows:
0
1056
85540
414329
774485
1208487
1657519
2102753
2561259
3037737
3458144
3993019
4417959
4809964
5261890
5798778
6254146
I want to find all lines between a specified start and end tag. (6 Replies)
I have shell file that has the following logic, i am new to shell programming.
What does process month $1 do?
I am assuming that the below dates go back three months from sysdate month. is it right :
curr_month=`date +%Y%m`
Beg_o_time=`date -d "2012/03/01" +%Y%m`
Process_months=$1... (1 Reply)
Hi,
Trying to automate a Postgres query using Shell script
Every month 1st week has to run a Monthly Queries to generate delimited files.
July 1st start of fiscal yr which has 4 Quarters until next June 30th
Example
If I'm running on Sept 5th it has to generate one file(Becuase it... (12 Replies)
Below are my custom period start and end dates based on a calender, these dates are placed in a file, for each period i need to split into three weeks for each period row, example is given below.
Could you please help out to achieve solution through shell script..
File content:
... (2 Replies)
Discussion started by: nani2019
2 Replies
LEARN ABOUT DEBIAN
tartdates
tartdates(5) LinuxTaRT Special Dates tartdates(5)NAME
tartdates - Special date configuration for LinuxTaRT
DESCRIPTION
LinuxTaRT uses a configuration file called specialdates to enable the user to display a specific tagline on certain special dates. The name
and location of this file is specified in the LinuxTaRT configuration file ~/.tartrc, but is usually:
~/.tartdates
PARAMETERS
Each line of the special date file consists of a day of the year expressed as a two digit month, a forward-slash (/), a two digit date, a
colon (:) and a line of text.
mm/dd:tagline text
Any line that does not conform to this specification will be treated as a comment. Comments may also be specified by prefixing text with a
# symbol. Using this method, you can place a comment behind a date line.
EXAMPLES
01/01:Happy New Year!!
Will use "Happy New Year!!" as the tagline when the date is January 1st.
12/25:Merry Christmas to all!
Displays "Merry Christmas to all!" as your tagline on Christmas day.
FILES
~/.tartdates
SEE ALSO tart(1)tartrc(5)tart-custom(5)Mark Veinot 1.0.0 tartdates(5)