<?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: Quick grep format question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/quick-grep-format-question/m-p/2613604#M854433</link>
    <description>Thank You Everyone !&lt;BR /&gt;&lt;BR /&gt;You've all come through for me like gangbusters.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Pamela Goodwin</description>
    <pubDate>Wed, 14 Nov 2001 15:02:15 GMT</pubDate>
    <dc:creator>Pamela J Goodwin</dc:creator>
    <dc:date>2001-11-14T15:02:15Z</dc:date>
    <item>
      <title>Quick grep format question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quick-grep-format-question/m-p/2613600#M854429</link>
      <description>All - I need some help. &lt;BR /&gt;&lt;BR /&gt;I want to use grep to copy all the words in a file which have uppercase letters into another file. &lt;BR /&gt;&lt;BR /&gt;I just want the uppercase words themselves, not the entire line. &lt;BR /&gt;&lt;BR /&gt;Can someone give me the command? &lt;BR /&gt;&lt;BR /&gt;I'd appreciate it. &lt;BR /&gt;&lt;BR /&gt;Thanks !</description>
      <pubDate>Wed, 14 Nov 2001 13:16:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quick-grep-format-question/m-p/2613600#M854429</guid>
      <dc:creator>Pamela J Goodwin</dc:creator>
      <dc:date>2001-11-14T13:16:15Z</dc:date>
    </item>
    <item>
      <title>Re: Quick grep format question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quick-grep-format-question/m-p/2613601#M854430</link>
      <description>Hi Pamela,&lt;BR /&gt;&lt;BR /&gt;If you want each word on a separate line:&lt;BR /&gt;&lt;BR /&gt;for word in `cat {filename}`;do&lt;BR /&gt;echo $word | grep [A-Z]&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin.</description>
      <pubDate>Wed, 14 Nov 2001 13:44:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quick-grep-format-question/m-p/2613601#M854430</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2001-11-14T13:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Quick grep format question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quick-grep-format-question/m-p/2613602#M854431</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;here a little correction:&lt;BR /&gt;&lt;BR /&gt;for word in `cat &lt;FILE&gt;`&lt;BR /&gt;do&lt;BR /&gt;  echo $word | grep '[[:upper:]]'&lt;BR /&gt;done &amp;gt; newfile&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/FILE&gt;</description>
      <pubDate>Wed, 14 Nov 2001 14:11:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quick-grep-format-question/m-p/2613602#M854431</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2001-11-14T14:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Quick grep format question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quick-grep-format-question/m-p/2613603#M854432</link>
      <description>Hi Pamela:&lt;BR /&gt;&lt;BR /&gt;I'll add one new twist, too.  I'm going to assume words might have upper and lower case letters just like in a sentence.  I will assume too that you want only those words where ALL letters appear in uppercase and that they may appear with a trailing comma or period.  Thus:&lt;BR /&gt;&lt;BR /&gt;for WORD in `cat myfile`&lt;BR /&gt;do&lt;BR /&gt;echo $WORD||grep '^[A-Z,.]*$'&lt;BR /&gt;done &amp;gt; mynewfile&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Nov 2001 14:38:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quick-grep-format-question/m-p/2613603#M854432</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-11-14T14:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Quick grep format question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/quick-grep-format-question/m-p/2613604#M854433</link>
      <description>Thank You Everyone !&lt;BR /&gt;&lt;BR /&gt;You've all come through for me like gangbusters.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Pamela Goodwin</description>
      <pubDate>Wed, 14 Nov 2001 15:02:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/quick-grep-format-question/m-p/2613604#M854433</guid>
      <dc:creator>Pamela J Goodwin</dc:creator>
      <dc:date>2001-11-14T15:02:15Z</dc:date>
    </item>
  </channel>
</rss>

