<?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: script help in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692147#M55641</link>
    <description>Deepak Seth,&lt;BR /&gt;&lt;BR /&gt;Start by splitting the file:&lt;BR /&gt;&lt;BR /&gt;csplit -f dumb test.txt '/____________________________ Reply Separator _______________________________/1' {*}&lt;BR /&gt;&lt;BR /&gt;then sort the files (PREFIXED with "dumb") based upon date:&lt;BR /&gt;&lt;BR /&gt;grep "^Date:" dumb[0-9]* | tr -s "  " " " | sed "s/:/+/" | sed "s_/99 _/1999 _" | sed "s/\( [1-9]\:[0-9][0-9]\)/ 0&amp;amp;/" | sed "s/ 0 / 0/"| sort -t"+" -k 2 | cut -d"+" -f1 | xargs -i cat {} &amp;gt;&amp;gt;newfilename&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry&lt;BR /&gt;harry</description>
    <pubDate>Wed, 27 Mar 2002 19:49:43 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2002-03-27T19:49:43Z</dc:date>
    <item>
      <title>script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692146#M55640</link>
      <description>HI Everybody,&lt;BR /&gt;&lt;BR /&gt;I have attached a text file . The text file contains the information of the different changes we made to our systems in some format. &lt;BR /&gt;&lt;BR /&gt;I would like to sort the text file by "Time/Date+system name" - which is 1st and 3rd field line containing date/time stamp(without impacting anything on the text written under it) . Pls. refer to the attached text file for what i would like to see after sorting. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanx&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Mar 2002 19:00:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692146#M55640</guid>
      <dc:creator>Deepak Seth_1</dc:creator>
      <dc:date>2002-03-27T19:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692147#M55641</link>
      <description>Deepak Seth,&lt;BR /&gt;&lt;BR /&gt;Start by splitting the file:&lt;BR /&gt;&lt;BR /&gt;csplit -f dumb test.txt '/____________________________ Reply Separator _______________________________/1' {*}&lt;BR /&gt;&lt;BR /&gt;then sort the files (PREFIXED with "dumb") based upon date:&lt;BR /&gt;&lt;BR /&gt;grep "^Date:" dumb[0-9]* | tr -s "  " " " | sed "s/:/+/" | sed "s_/99 _/1999 _" | sed "s/\( [1-9]\:[0-9][0-9]\)/ 0&amp;amp;/" | sed "s/ 0 / 0/"| sort -t"+" -k 2 | cut -d"+" -f1 | xargs -i cat {} &amp;gt;&amp;gt;newfilename&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry&lt;BR /&gt;harry</description>
      <pubDate>Wed, 27 Mar 2002 19:49:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692147#M55641</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-03-27T19:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692148#M55642</link>
      <description>Deepak Seth,&lt;BR /&gt;&lt;BR /&gt;Nothing like seeing my name twice!&lt;BR /&gt;&lt;BR /&gt;The statement:&lt;BR /&gt;&lt;BR /&gt;tr -s " " " "&lt;BR /&gt;&lt;BR /&gt;Has TWO spaces in the first set ouf quotes "ss", ant the second has one space "s", as in:&lt;BR /&gt;&lt;BR /&gt;tr -s "ss" "s"&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 27 Mar 2002 19:54:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692148#M55642</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-03-27T19:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692149#M55643</link>
      <description>I think i attached the wrong file. Iam really sorry if i wasted your time. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here the output of the text file in case u have problem reading the attached file.&lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:50 root bvapp1&lt;BR /&gt;   unc-commented cronjobs related to BV .  Srini wanted them to be&lt;BR /&gt;   un-commented after they successfully migrated for Northern Europe.&lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:50 root bvapp2&lt;BR /&gt;   unc-commented cronjobs related to BV .  Srini wanted them to be&lt;BR /&gt;   un-commented after they successfully migrated for Northern Europe.&lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:51 root devhp1&lt;BR /&gt;   created file systems for baandcdg - 25 Nos.  (24 - database mount&lt;BR /&gt;   points and 1 - application)&lt;BR /&gt;&lt;BR /&gt;2002:03:26:14:55 root bvapp1&lt;BR /&gt;   change dbc_max_pct from 50% to 25%.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;After sort it should be :&lt;BR /&gt;&lt;BR /&gt;2002:03:26:14:55 root bvapp1&lt;BR /&gt;   change dbc_max_pct from 50% to 25%.&lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:50 root bvapp1&lt;BR /&gt;   unc-commented cronjobs related to BV .  Srini wanted them to be&lt;BR /&gt;   un-commented after they successfully migrated for Northern Europe.&lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:50 root bvapp2&lt;BR /&gt;   unc-commented cronjobs related to BV .  Srini wanted them to be&lt;BR /&gt;   un-commented after they successfully migrated for Northern Europe.&lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:51 root devhp1&lt;BR /&gt;   created file systems for baandcdg - 25 Nos.  (24 - database mount&lt;BR /&gt;   points and 1 - application)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Mar 2002 21:36:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692149#M55643</guid>
      <dc:creator>Deepak Seth_1</dc:creator>
      <dc:date>2002-03-27T21:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692150#M55644</link>
      <description>SAME CONCEPT:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;csplit -f dumb test.txt '/^[0-9][0-9][0-9][0-9]:/1' {*}&lt;BR /&gt;&lt;BR /&gt;**** test.txt is the file with that stuff in it&lt;BR /&gt;&lt;BR /&gt;then sort the files (PREFIXED with "dumb") based upon date:&lt;BR /&gt;&lt;BR /&gt;grep "^[0-9][0-9][0-9][0-9]" dumb* | sort | cut -d":" -f1 | xargs -i cat {} &amp;gt;&amp;gt;newfilename&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry Deepak Seth</description>
      <pubDate>Wed, 27 Mar 2002 23:16:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692150#M55644</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-03-27T23:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692151#M55645</link>
      <description>crap that won't work&lt;BR /&gt;&lt;BR /&gt;and what a bad paste job I did!!!&lt;BR /&gt;&lt;BR /&gt;Deepak, is the "blank" line blank, meaning that it only contains a Carriage Return?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 27 Mar 2002 23:22:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692151#M55645</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-03-27T23:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692152#M55646</link>
      <description>Deepak,&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;csplit -f dumb test.txt '/^$/1' {*}&lt;BR /&gt;&lt;BR /&gt;**** test.txt is the file with that stuff in it&lt;BR /&gt;&lt;BR /&gt;then sort the files (PREFIXED with "dumb") based upon date:&lt;BR /&gt;&lt;BR /&gt;grep "^[0-9][0-9][0-9][0-9]" dumb* | sort | cut -d":" -f1 | xargs -i cat {} &amp;gt;&amp;gt;newfilename&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry&lt;BR /&gt;&lt;BR /&gt;and yes "harry deepak seth" was the bad paste job!!! copied three post in a row - dumb!&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Mar 2002 23:26:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692152#M55646</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-03-27T23:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692153#M55647</link>
      <description>Deepak,&lt;BR /&gt;&lt;BR /&gt;This little script will sort the first field (date/time) and will keep the remaining text:&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;&lt;BR /&gt;rm -f /tmp/test.out&lt;BR /&gt;MY_PATTERN="[0-9][0-9][0-9][0-9]:[0-9][0-9]:[0-9][0-9]:[0-9][0-9]:[0-9][0-9]"&lt;BR /&gt;grep "${MY_PATTERN}" test.in | sort -r -k1 &amp;gt; /tmp/sorted&lt;BR /&gt;  CNT=0&lt;BR /&gt;  cat test.in | while read LINE; do&lt;BR /&gt;   FOUND=`echo ${LINE} | grep "${MY_PATTERN}"`&lt;BR /&gt;   if [[ -n "${FOUND}" ]]; then&lt;BR /&gt;      CNT=`expr ${CNT} + 1`&lt;BR /&gt;      head -"${CNT}" /tmp/sorted | tail -1 &amp;gt;&amp;gt; /tmp/test.out&lt;BR /&gt;   else &lt;BR /&gt;      echo "${LINE}" &amp;gt;&amp;gt; /tmp/test.out&lt;BR /&gt;   fi&lt;BR /&gt;  done&lt;BR /&gt;&lt;BR /&gt;Your input file is test.in and the output you need will be in test.out..&lt;BR /&gt;&lt;BR /&gt;-Thanks,&lt;BR /&gt;-Shabu</description>
      <pubDate>Wed, 27 Mar 2002 23:56:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692153#M55647</guid>
      <dc:creator>SHABU KHAN</dc:creator>
      <dc:date>2002-03-27T23:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692154#M55648</link>
      <description>You are my man of day - almost . I try with test.txt which is sample file and it works like a magic . &lt;BR /&gt;But when i try to do this with a bigger file(55 K)  , i ran into problem with this error - reached limit on number of output files at arg {*}&lt;BR /&gt;&lt;BR /&gt;We are almost there. Any other suggestion . &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Mar 2002 00:01:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692154#M55648</guid>
      <dc:creator>Deepak Seth_1</dc:creator>
      <dc:date>2002-03-28T00:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692155#M55649</link>
      <description>The last message for Harry. Iam trying Sabhu script now. will revert u shortly on the outcome of Sabhu script. thanx guys.&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Mar 2002 00:09:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692155#M55649</guid>
      <dc:creator>Deepak Seth_1</dc:creator>
      <dc:date>2002-03-28T00:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692156#M55650</link>
      <description>Deepak,&lt;BR /&gt;&lt;BR /&gt;add this option to csplit:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-n 8&lt;BR /&gt;&lt;BR /&gt;it will make the DIGITS after the "dumb" prefix 8 digits long, should be enough!&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 28 Mar 2002 00:22:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692156#M55650</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-03-28T00:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692157#M55651</link>
      <description>Shabu,&lt;BR /&gt;&lt;BR /&gt;BUT, if you had two or more blocks with the same DATA header, it would only match the first one, losing the second or more, by duplicating the first. Try this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:50 root bvapp1&lt;BR /&gt;unc-commented cronjobs related to BV . Srini wanted them to be&lt;BR /&gt;un-commented after they successfully migrated for Northern Europe.&lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:50 root bvapp1&lt;BR /&gt;some other message. that would or could be missed.&lt;BR /&gt;because of the grep. awk could do it, provided you "trimed" out the text in the original $line.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 28 Mar 2002 00:30:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692157#M55651</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-03-28T00:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692158#M55652</link>
      <description>You are my man and so is sabhu khan. Your effort provided me a quick solution. &lt;BR /&gt;&lt;BR /&gt;thank your very much . &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 Mar 2002 00:33:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692158#M55652</guid>
      <dc:creator>Deepak Seth_1</dc:creator>
      <dc:date>2002-03-28T00:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692159#M55653</link>
      <description>Deepak,&lt;BR /&gt;You are Welcome, good to know that our postings helped.&lt;BR /&gt;&lt;BR /&gt;Harry,&lt;BR /&gt;Actually my script will work even if it has the same DATA header. I tried it with your example and it works..&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shabu</description>
      <pubDate>Thu, 28 Mar 2002 06:29:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692159#M55653</guid>
      <dc:creator>SHABU KHAN</dc:creator>
      <dc:date>2002-03-28T06:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692160#M55654</link>
      <description>Deepak,&lt;BR /&gt;You are Welcome, good to know that our postings helped.&lt;BR /&gt;&lt;BR /&gt;Harry,&lt;BR /&gt;Actually my script will work even if it has the same DATA header. I tried it with your example and it works..&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shabu</description>
      <pubDate>Thu, 28 Mar 2002 06:31:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692160#M55654</guid>
      <dc:creator>SHABU KHAN</dc:creator>
      <dc:date>2002-03-28T06:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692161#M55655</link>
      <description>Shabu,&lt;BR /&gt;&lt;BR /&gt;I used this as an input file:&lt;BR /&gt;-------------------------&lt;BR /&gt;# more test.in&lt;BR /&gt;2002:03:26:13:50 root bvapp1 &lt;BR /&gt;unc-commented cronjobs related to BV . Srini wanted them to be &lt;BR /&gt;un-commented after they successfully migrated for Northern Europe. &lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:50 root bvapp1 &lt;BR /&gt;unc-commented cronjobs related to BV . Srini wanted them to be &lt;BR /&gt;un-commented after they successfully migrated for Northern Europe. &lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:50 root bvapp2 &lt;BR /&gt;unc-commented cronjobs related to BV . Srini wanted them to be &lt;BR /&gt;un-commented after they successfully migrated for Northern Europe. &lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:51 root devhp1 &lt;BR /&gt;created file systems for baandcdg - 25 Nos. (24 - database mount &lt;BR /&gt;points and 1 - application) &lt;BR /&gt;&lt;BR /&gt;2002:03:26:14:55 root bvapp1 &lt;BR /&gt;change dbc_max_pct from 50% to 25%. &lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:50 root bvapp1 &lt;BR /&gt;some other message. that would or could be missed. &lt;BR /&gt;because of the grep. awk could do it, provided you "trimed" out the text in the &lt;BR /&gt;original $line. &lt;BR /&gt;-------------------------&lt;BR /&gt;and ran your script, and this is what I got:&lt;BR /&gt;-------------------------&lt;BR /&gt;# more test.out &lt;BR /&gt;2002:03:26:14:55 root bvapp1 &lt;BR /&gt;unc-commented cronjobs related to BV . Srini wanted them to be&lt;BR /&gt;un-commented after they successfully migrated for Northern Europe.&lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:51 root devhp1 &lt;BR /&gt;unc-commented cronjobs related to BV . Srini wanted them to be&lt;BR /&gt;un-commented after they successfully migrated for Northern Europe.&lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:50 root bvapp2 &lt;BR /&gt;unc-commented cronjobs related to BV . Srini wanted them to be&lt;BR /&gt;un-commented after they successfully migrated for Northern Europe.&lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:50 root bvapp1 &lt;BR /&gt;created file systems for baandcdg - 25 Nos. (24 - database mount&lt;BR /&gt;points and 1 - application)&lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:50 root bvapp1 &lt;BR /&gt;change dbc_max_pct from 50% to 25%.&lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:50 root bvapp1 &lt;BR /&gt;some other message. that would or could be missed.&lt;BR /&gt;because of the grep. awk could do it, provided you "trimed" out the text in the &lt;BR /&gt;original $line.&lt;BR /&gt;-------------------------&lt;BR /&gt;&lt;BR /&gt;Which only "sorted" the headers and did not move the text with it. When it should look like this:&lt;BR /&gt;-------------------------&lt;BR /&gt;# more test.outnew&lt;BR /&gt;2002:03:26:13:50 root bvapp1 &lt;BR /&gt;unc-commented cronjobs related to BV . Srini wanted them to be &lt;BR /&gt;un-commented after they successfully migrated for Northern Europe. &lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:50 root bvapp1 &lt;BR /&gt;unc-commented cronjobs related to BV . Srini wanted them to be &lt;BR /&gt;un-commented after they successfully migrated for Northern Europe. &lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:50 root bvapp1 &lt;BR /&gt;some other message. that would or could be missed. &lt;BR /&gt;because of the grep. awk could do it, provided you "trimed" out the text in the &lt;BR /&gt;original $line. &lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:50 root bvapp2 &lt;BR /&gt;unc-commented cronjobs related to BV . Srini wanted them to be &lt;BR /&gt;un-commented after they successfully migrated for Northern Europe. &lt;BR /&gt;&lt;BR /&gt;2002:03:26:13:51 root devhp1 &lt;BR /&gt;created file systems for baandcdg - 25 Nos. (24 - database mount &lt;BR /&gt;points and 1 - application) &lt;BR /&gt;&lt;BR /&gt;2002:03:26:14:55 root bvapp1 &lt;BR /&gt;change dbc_max_pct from 50% to 25%.&lt;BR /&gt;-------------------------&lt;BR /&gt;Which requires a change to my sort (my excuse last night - I couldn't VPN into work):&lt;BR /&gt;&lt;BR /&gt;sort -t: -k2,6&lt;BR /&gt;&lt;BR /&gt;resulting in the last line like this:&lt;BR /&gt;&lt;BR /&gt;grep "^[0-9][0-9][0-9][0-9]:[0-9][0-9]:[0-9][0-9]:[0-9][0-9]:[0-9][0-9] " dumb[0-9]* &lt;BR /&gt;| sort -t: -k2,6 | cut -d":" -f1 | xargs -i cat {} &amp;gt;&amp;gt;test.outnew&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Thu, 28 Mar 2002 13:48:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692161#M55655</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-03-28T13:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692162#M55656</link>
      <description>&lt;BR /&gt;Oops ! Bummer !&lt;BR /&gt;&lt;BR /&gt;I see what you are saying ... I do not deserve those points after all..&lt;BR /&gt;&lt;BR /&gt;I was trying to do this programmatically without splitting the files ... hmm..&lt;BR /&gt;&lt;BR /&gt;Thanks Harry for pointing this out ...&lt;BR /&gt;&lt;BR /&gt;-Shabu</description>
      <pubDate>Fri, 29 Mar 2002 00:40:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692162#M55656</guid>
      <dc:creator>SHABU KHAN</dc:creator>
      <dc:date>2002-03-29T00:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692163#M55657</link>
      <description>Don't worry about the points . I think i was very happy with the solution of harry and it seems have not paid  close attention  your script and its output.&lt;BR /&gt;&lt;BR /&gt;I can't minus your point so treat them as advance payment for my next question - someday !!!!!&lt;BR /&gt;&lt;BR /&gt;thanx&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Mar 2002 00:53:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/2692163#M55657</guid>
      <dc:creator>Deepak Seth_1</dc:creator>
      <dc:date>2002-03-29T00:53:08Z</dc:date>
    </item>
  </channel>
</rss>

