<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Report script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258025#M659775</link>
    <description>&amp;gt;but a bit complicated for me to understand.&lt;BR /&gt;&lt;BR /&gt;Why do you think pattern matching or regular expressions or even EREs are easier to understand than procedural programming, like in C or even COBOL?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;DAT_year=`date "+%C%y"`&lt;BR /&gt;&lt;BR /&gt;Why not use just the Y2K format "+%Y"?&lt;BR /&gt;&lt;BR /&gt;You do know that asking for the time in N separate calls is gong to get you into trouble around midnight?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;02|03|04|05|07|08|09|10|11|12:00:$DAT_year:Sunday) echo "test3";; #First Sunday&lt;BR /&gt;&lt;BR /&gt;This is going to match $DAT with the strings:&lt;BR /&gt;02, 03, ... 11 or 12:10:$DAT_years:Sunday.&lt;BR /&gt;&lt;BR /&gt;If you were using EREs, you could use () to enclose the various months.</description>
    <pubDate>Thu, 07 Oct 2010 08:40:36 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2010-10-07T08:40:36Z</dc:date>
    <item>
      <title>Report script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258020#M659770</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;New to the scripting thing.&lt;BR /&gt;&lt;BR /&gt;I have been asked to setup a report script. Calling report is not an issue. but they want diffrent things for diffrent days.&lt;BR /&gt;&lt;BR /&gt;the requirement is this.&lt;BR /&gt;&lt;BR /&gt;Check for first sunday of the year.&lt;BR /&gt;check for first sunday in june.&lt;BR /&gt;check for first sunday of the month&lt;BR /&gt;check for sunday of week.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I was thinking of using a case statment. for this.&lt;BR /&gt;&lt;BR /&gt;But the problem is i am not sure of how to check for the date in each of these instances.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I was thinking of using this command.&lt;BR /&gt;date "+ %U:%m/%d:%C%y:%A:%M:%S"&lt;BR /&gt;&lt;BR /&gt;then grepping the information i needed.&lt;BR /&gt;&lt;BR /&gt;Am i on the right track.</description>
      <pubDate>Thu, 07 Oct 2010 05:31:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258020#M659770</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2010-10-07T05:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Report script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258021#M659771</link>
      <description>&lt;!--!*#--&gt;You're sort of on the right track.&lt;BR /&gt;&lt;BR /&gt;You don't have to use grep. Just assign the individual date elements to variables, and then you can use them in case or if/then/else comparisions as much as you wish.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;MONTHNR=$(date +%m) # two digits: 00...12&lt;BR /&gt;DAYOFMONTH=$(date +%d) # 00...31&lt;BR /&gt;DAYOFWEEK=$(date +%w) # Sunday = 0, Saturday = 6&lt;BR /&gt;&lt;BR /&gt;If you're running the report scripts from crontab, note that it can run things on a particular day of the week.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; check for sunday of week.&lt;BR /&gt;&lt;BR /&gt;Just set a cron job to run on Sundays only.&lt;BR /&gt;For example, to run a script at 04:00 on Sundays, the cron job entry would be:&lt;BR /&gt;&lt;BR /&gt;00 04 * * 0 /somewhere/script.sh&lt;BR /&gt;&lt;BR /&gt;Or using the variables defined above:&lt;BR /&gt;if [ "$DAYOFWEEK" = 0 ]; then&lt;BR /&gt;    # create report&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Check for first sunday of the year.&lt;BR /&gt;&lt;BR /&gt;If it's Sunday, and the month is January, and the day-of-month number is between 1 and 7 (inclusive), it must be the first Sunday of the year, right?&lt;BR /&gt;&lt;BR /&gt;Using the variables defined above:&lt;BR /&gt;&lt;BR /&gt;if [ "$DAYOFWEEK" = 0 -a "$MONTHNR" = "01" -a "$DAYOFMONTH" -ge 1 -a "$DAYOFMONTH" -le 7 ]; then&lt;BR /&gt;    # create report&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;You can get the first Sunday of June from the above by just adjusting the month number. &lt;BR /&gt;&lt;BR /&gt;First Sunday of any month: just leave out the test for the month number.&lt;BR /&gt;&lt;BR /&gt;if [ "$DAYOFWEEK" = 0 -a "$DAYOFMONTH" -ge 1 -a "$DAYOFMONTH" -le 7 ]; then&lt;BR /&gt;    # create report&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Thu, 07 Oct 2010 06:12:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258021#M659771</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-10-07T06:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Report script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258022#M659772</link>
      <description>Hi That looks great but a bit complicated for me to understand.&lt;BR /&gt;&lt;BR /&gt;I was looking at something like this.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;DAT=`date "+ %m:%w:%C%y:%A"`&lt;BR /&gt;echo $DAT&lt;BR /&gt;case $DAT in&lt;BR /&gt;        00:00:2010:Sunday| echo test1;;&lt;BR /&gt;        06:00:2010:Sunday| echo test2;;&lt;BR /&gt;        01|02|03|04|05|07|08|09|10|11|12:00:2010:Sunday| echo test3;;&lt;BR /&gt;esac&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Oct 2010 06:26:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258022#M659772</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2010-10-07T06:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Report script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258023#M659773</link>
      <description>Hi That looks great but a bit complicated for me to understand.&lt;BR /&gt;&lt;BR /&gt;I was looking at something like this.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;DAT=`date "+ %m:%w:%C%y:%A"`&lt;BR /&gt;DAT_month=`date "+ %m"`&lt;BR /&gt;DAT_day=`date "+ %w"`&lt;BR /&gt;DAT_year=`date "+ %C%y"`&lt;BR /&gt;DAT_day_name=`date "+ %A"`&lt;BR /&gt;echo $DAT&lt;BR /&gt;case $DAT in&lt;BR /&gt;        01:00:$DAT_year:Sunday) echo "test1";;&lt;BR /&gt;        06:00:$DAT_year:Sunday) echo "test2";;&lt;BR /&gt;        01|02|03|04|05|07|08|09|10|11|12:00:$DAT_year:Sunday) echo "test3";;&lt;BR /&gt;        02|03|04|05|07|08|09|10|11|12:00:$DAT_year:Sunday) echo "test4";;&lt;BR /&gt;        10:4:2010:Thursday) echo "test5";;&lt;BR /&gt;esac&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Oct 2010 06:45:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258023#M659773</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2010-10-07T06:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: Report script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258024#M659774</link>
      <description>why will my echo test4 not work.&lt;BR /&gt;&lt;BR /&gt;my echo test5 does.&lt;BR /&gt;&lt;BR /&gt;DAT=`date "+%m:%w:%C%y:%A"`&lt;BR /&gt;DAT_month=`date "+%m"`&lt;BR /&gt;DAT_day=`date "+%w"`&lt;BR /&gt;DAT_year=`date "+%C%y"`&lt;BR /&gt;DAT_day_name=`date "+%A"`&lt;BR /&gt;echo $DAT&lt;BR /&gt;case $DAT in&lt;BR /&gt;        01:00:$DAT_year:Sunday) echo "test1";;  #first sunday of the year&lt;BR /&gt;        06:00:$DAT_year:Sunday) echo "test2";;  #First sunday of June&lt;BR /&gt;        02|03|04|05|07|08|09|10|11|12:00:$DAT_year:Sunday) echo "test3";;       #First Sunday of Month&lt;BR /&gt;        02|03|04|05|07|08|09|10|11|12:00:$DAT_year:Sunday) echo "test4";;       #all other sunday&lt;BR /&gt;        $DAT_month:1|2|3|4|5|6:$DAT_year:Monday|Teusday|Wednesday|Thursday|Friday|Saturday) echo "test4";;      #all other d&lt;BR /&gt;ays&lt;BR /&gt;        $DAT_month:$DAT_day:$DAT_year:$DAT_day_name) echo "test5";;&lt;BR /&gt;esac&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Oct 2010 07:58:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258024#M659774</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2010-10-07T07:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Report script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258025#M659775</link>
      <description>&amp;gt;but a bit complicated for me to understand.&lt;BR /&gt;&lt;BR /&gt;Why do you think pattern matching or regular expressions or even EREs are easier to understand than procedural programming, like in C or even COBOL?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;DAT_year=`date "+%C%y"`&lt;BR /&gt;&lt;BR /&gt;Why not use just the Y2K format "+%Y"?&lt;BR /&gt;&lt;BR /&gt;You do know that asking for the time in N separate calls is gong to get you into trouble around midnight?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;02|03|04|05|07|08|09|10|11|12:00:$DAT_year:Sunday) echo "test3";; #First Sunday&lt;BR /&gt;&lt;BR /&gt;This is going to match $DAT with the strings:&lt;BR /&gt;02, 03, ... 11 or 12:10:$DAT_years:Sunday.&lt;BR /&gt;&lt;BR /&gt;If you were using EREs, you could use () to enclose the various months.</description>
      <pubDate>Thu, 07 Oct 2010 08:40:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258025#M659775</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-10-07T08:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Report script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258026#M659776</link>
      <description>hi as i said from begining not at all sure about any of this.&lt;BR /&gt;&lt;BR /&gt;First time doing this stuff. I am just reading and putting this together as i go and testing to see if it works.</description>
      <pubDate>Thu, 07 Oct 2010 09:22:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258026#M659776</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2010-10-07T09:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Report script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258027#M659777</link>
      <description>The cron knows about days of the week, month etc. And so do the "at" or "batch" commands.&lt;BR /&gt;&lt;BR /&gt;I use this crontab entry to run a job on the first Sunday of the month:&lt;BR /&gt;&lt;BR /&gt;0 0 1 * * at -f myscript 03:45 sun&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This will run myscript at 3:45am on the first Sunday of every month.&lt;BR /&gt;&lt;BR /&gt;In your case, myscript only has to work out what it needs to run.&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Oct 2010 00:12:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258027#M659777</guid>
      <dc:creator>Jim Walls</dc:creator>
      <dc:date>2010-10-08T00:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Report script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258028#M659778</link>
      <description>hello,&lt;BR /&gt;&lt;BR /&gt;i had also this issue, i am using following&lt;BR /&gt;scripts (found in the net):&lt;BR /&gt;&lt;BR /&gt;script to search:&lt;BR /&gt;weekselector.sh or weekselector &lt;BR /&gt;&lt;BR /&gt;requirement:&lt;BR /&gt;datecalc.sh or datecalc&lt;BR /&gt;&lt;BR /&gt;regards,</description>
      <pubDate>Fri, 08 Oct 2010 07:39:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258028#M659778</guid>
      <dc:creator>Billa-User</dc:creator>
      <dc:date>2010-10-08T07:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Report script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258029#M659779</link>
      <description>&lt;!--!*#--&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Here is my proposal based on the fact that when you execute the command "cal &lt;MONTH&gt; &lt;YEAR&gt;", the first Sunday of a month is always the last column of the third line &lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;function get_first_sunday&lt;BR /&gt;{&lt;BR /&gt;        typeset month=$1 year=$2&lt;BR /&gt;&lt;BR /&gt;        typeset -Z02 first_sunday=$( cal $month $year | awk 'NR == 3 { print $NF }' )&lt;BR /&gt;&lt;BR /&gt;        print "Sun" $year $month $first_sunday&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;typeset wday month year&lt;BR /&gt;typeset -Z02 mday&lt;BR /&gt;&lt;BR /&gt;date +'%a %m %e %Y' | read wday month mday year&lt;BR /&gt;&lt;BR /&gt;typeset  first_sunday_of_the_year=$( get_first_sunday 01 $year )&lt;BR /&gt;typeset      first_sunday_of_june=$( get_first_sunday 06 $year )&lt;BR /&gt;typeset first_sunday_of_the_month=$( get_first_sunday $month $year )&lt;BR /&gt;&lt;BR /&gt;case "$wday $year $month $mday" in&lt;BR /&gt;&lt;BR /&gt;        "$first_sunday_of_the_year")&lt;BR /&gt;                print "First sunday of the year"&lt;BR /&gt;        ;;&lt;BR /&gt;        "$first_sunday_of_june")&lt;BR /&gt;                print "First sunday of June"&lt;BR /&gt;        ;;&lt;BR /&gt;        "$first_sunday_of_the_month")&lt;BR /&gt;                print "First sunday of the month"&lt;BR /&gt;        ;;&lt;BR /&gt;        Sun*)&lt;BR /&gt;                print "Sunday"&lt;BR /&gt;        ;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Jean-Philippe&lt;/YEAR&gt;&lt;/MONTH&gt;</description>
      <pubDate>Fri, 08 Oct 2010 08:13:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258029#M659779</guid>
      <dc:creator>Jean-Philippe Henry</dc:creator>
      <dc:date>2010-10-08T08:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Report script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258030#M659780</link>
      <description>Okay The customer wants to now do backups fro the rest of the week days.&lt;BR /&gt;&lt;BR /&gt;I made the following modification but it does not work.&lt;BR /&gt;&lt;BR /&gt;I donot see the file in /tmp&lt;BR /&gt;&lt;BR /&gt;what have i done wrong?&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;function get_first_sunday&lt;BR /&gt;{&lt;BR /&gt;        typeset month=$1 year=$2&lt;BR /&gt;&lt;BR /&gt;        typeset -Z02 first_sunday=$( cal $month $year | awk 'NR == 3 { print $NF }' )&lt;BR /&gt;&lt;BR /&gt;        print "Sun" $year $month $first_sunday&lt;BR /&gt;}&lt;BR /&gt;function get_other_day&lt;BR /&gt;{&lt;BR /&gt;        typeset month=$1 year=$2&lt;BR /&gt;&lt;BR /&gt;        typeset -Z02 other_day=$( cal $month $year  )&lt;BR /&gt;&lt;BR /&gt;        print "other" $year $month $other_day&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;typeset wday month year&lt;BR /&gt;typeset -Z02 mday&lt;BR /&gt;&lt;BR /&gt;date +'%a %m %e %Y' | read wday month mday year&lt;BR /&gt;&lt;BR /&gt;typeset  first_sunday_of_the_year=$( get_first_sunday 01 $year )&lt;BR /&gt;typeset      first_sunday_of_june=$( get_first_sunday 06 $year )&lt;BR /&gt;typeset first_sunday_of_the_month=$( get_first_sunday $month $year )&lt;BR /&gt;typeset other_day=$( get_other_day $month $year )&lt;BR /&gt;echo "$other_day"&lt;BR /&gt;echo $first_sunday_of_the_year&lt;BR /&gt;echo $first_sunday_of_june&lt;BR /&gt;echo $first_sunday_of_the_month&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;case "$wday $year $month $mday" in&lt;BR /&gt;&lt;BR /&gt;        "$first_sunday_of_the_year")&lt;BR /&gt;                echo "First sunday of the year" &amp;gt; /tmp/First_year.txt&lt;BR /&gt;        ;;&lt;BR /&gt;        "$first_sunday_of_june")&lt;BR /&gt;                echo "First sunday of June" &amp;gt; /tmp/First_june.txt&lt;BR /&gt;        ;;&lt;BR /&gt;        "$first_sunday_of_the_month")&lt;BR /&gt;                echo "First sunday of the month" &amp;gt; /tmp/First_month.txt&lt;BR /&gt;        ;;&lt;BR /&gt;        "$other_day")&lt;BR /&gt;                echo "Other" &amp;gt; /tmp/otherday.txt&lt;BR /&gt;        ;;&lt;BR /&gt;        Sun*)&lt;BR /&gt;                echo "Other" &amp;gt; /tmp/sunday.txt&lt;BR /&gt;        ;;&lt;BR /&gt;&lt;BR /&gt;esac&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2010 10:13:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258030#M659780</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2010-11-08T10:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Report script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258031#M659781</link>
      <description>Add the following to the end of your case:&lt;BR /&gt;*) echo "no match $other_day" ;;&lt;BR /&gt;&lt;BR /&gt;There may be a spacing problem in your get_other_day function?  Also how does the string "other" ever match $wday?</description>
      <pubDate>Mon, 08 Nov 2010 10:44:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258031#M659781</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-11-08T10:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Report script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258032#M659782</link>
      <description>I cant answer your question because i do not understand The wday thing.&lt;BR /&gt;&lt;BR /&gt;I am new to this and just when i thought i understood i found i did not.</description>
      <pubDate>Mon, 08 Nov 2010 10:53:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258032#M659782</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2010-11-08T10:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Report script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258033#M659783</link>
      <description>&amp;gt;I do not understand the wday thing.&lt;BR /&gt;&lt;BR /&gt;To get a match in the case, these strings must match:&lt;BR /&gt;echo "$wday $year $month $mday"&lt;BR /&gt;echo "$other_day"</description>
      <pubDate>Mon, 08 Nov 2010 10:58:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258033#M659783</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-11-08T10:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Report script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258034#M659784</link>
      <description>ok i get it now thank you for all your help.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2010 11:08:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258034#M659784</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2010-11-08T11:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: Report script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258035#M659785</link>
      <description>Man i have a long way to go with this stuff&lt;BR /&gt;&lt;BR /&gt;Thanks for your help</description>
      <pubDate>Mon, 08 Nov 2010 11:08:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258035#M659785</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2010-11-08T11:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Report script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258036#M659786</link>
      <description>&amp;gt;I get it now thank you for all your help.&lt;BR /&gt;&lt;BR /&gt;You can of course use a wildcard at the end of your case that matches all other cases:&lt;BR /&gt;*)&lt;BR /&gt;echo "Other" &amp;gt; /tmp/otherday.txt ;;&lt;BR /&gt;&lt;BR /&gt;And remove your "$other_day" case.</description>
      <pubDate>Tue, 09 Nov 2010 06:39:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258036#M659786</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-11-09T06:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Report script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258037#M659787</link>
      <description>That is exactly what I did.</description>
      <pubDate>Tue, 09 Nov 2010 06:45:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/report-script/m-p/5258037#M659787</guid>
      <dc:creator>wayne_104</dc:creator>
      <dc:date>2010-11-09T06:45:53Z</dc:date>
    </item>
  </channel>
</rss>

