<?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: KSH to DCL command question - easy. in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742701#M33784</link>
    <description>Beside the very good OpenVMS documentation the famous book "writing real programs in DCL" is very good (see &lt;A href="http://books.kelkoo.co.uk/b/a/cpc_5101_ps_4027506_gs_16272260.html" target="_blank"&gt;http://books.kelkoo.co.uk/b/a/cpc_5101_ps_4027506_gs_16272260.html&lt;/A&gt;&lt;BR /&gt;e.g.).&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
    <pubDate>Thu, 02 Mar 2006 12:26:59 GMT</pubDate>
    <dc:creator>Karl Rohwedder</dc:creator>
    <dc:date>2006-03-02T12:26:59Z</dc:date>
    <item>
      <title>KSH to DCL command question - easy.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742697#M33780</link>
      <description>Quick question -&lt;BR /&gt;&lt;BR /&gt;What is the VMS equivalent of *NIX's awk and sed commands?&lt;BR /&gt;&lt;BR /&gt;Also, is there a good, recommended, resource for DCL programming on the internet that someone could point me to?</description>
      <pubDate>Thu, 02 Mar 2006 09:51:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742697#M33780</guid>
      <dc:creator>Allan Parsons</dc:creator>
      <dc:date>2006-03-02T09:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: KSH to DCL command question - easy.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742698#M33781</link>
      <description>gawk is available for VMS.&lt;BR /&gt;equivlient of sed - SUMSLP I guess&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/73final/documentation/pdf/OVMS_SUMSLP_UTIL.pdf" target="_blank"&gt;http://h71000.www7.hp.com/doc/73final/documentation/pdf/OVMS_SUMSLP_UTIL.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Lots of dcl examples can be found at&lt;BR /&gt;&lt;A href="http://dcl.openvms.org" target="_blank"&gt;http://dcl.openvms.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;See dcl entries on&lt;BR /&gt;&lt;A href="http://www.openvms.org/pages.php?page=Resources" target="_blank"&gt;http://www.openvms.org/pages.php?page=Resources&lt;/A&gt;</description>
      <pubDate>Thu, 02 Mar 2006 10:01:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742698#M33781</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2006-03-02T10:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: KSH to DCL command question - easy.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742699#M33782</link>
      <description>Alternatively, depending on what you actually&lt;BR /&gt;need to do (and how much infrastructure you&lt;BR /&gt;can't demand), it's possible to read and&lt;BR /&gt;re-write an altered file using DCL OPEN,&lt;BR /&gt;CLOSE, READ, and WRITE.  Text editor scripts&lt;BR /&gt;are also used by people who can figure those&lt;BR /&gt;out.&lt;BR /&gt;&lt;BR /&gt;Resource?  I just type randomly until it&lt;BR /&gt;works.  (Testing takes a long time, though.)&lt;BR /&gt;Stealing code from existing procedures is&lt;BR /&gt;also popular, but finding good ones is a&lt;BR /&gt;challenge.</description>
      <pubDate>Thu, 02 Mar 2006 10:17:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742699#M33782</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-03-02T10:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: KSH to DCL command question - easy.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742700#M33783</link>
      <description>A good option equivalent of sed is to use EDIT/EDT/COMMAND DCL command.&lt;BR /&gt;&lt;BR /&gt;Saludos.&lt;BR /&gt;Daniel.</description>
      <pubDate>Thu, 02 Mar 2006 11:26:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742700#M33783</guid>
      <dc:creator>Daniel Fernandez Illan</dc:creator>
      <dc:date>2006-03-02T11:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: KSH to DCL command question - easy.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742701#M33784</link>
      <description>Beside the very good OpenVMS documentation the famous book "writing real programs in DCL" is very good (see &lt;A href="http://books.kelkoo.co.uk/b/a/cpc_5101_ps_4027506_gs_16272260.html" target="_blank"&gt;http://books.kelkoo.co.uk/b/a/cpc_5101_ps_4027506_gs_16272260.html&lt;/A&gt;&lt;BR /&gt;e.g.).&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Thu, 02 Mar 2006 12:26:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742701#M33784</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2006-03-02T12:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: KSH to DCL command question - easy.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742702#M33785</link>
      <description>re: Daniel,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;A good option equivalent of sed is to &lt;BR /&gt;&amp;gt;use EDIT/EDT/COMMAND DCL command. &lt;BR /&gt;&lt;BR /&gt;  Sorry Daniel, not a criticism of you... Could everyone PLEASE forget EDT exists?&lt;BR /&gt;&lt;BR /&gt; EDT was made obselete more than 20 years ago by TPU and EVE. You can write EVE scripts or incredibly complex and powerful programs in TPU to do any kind of text processing anyone can dream up. EVE is a MUCH better, more reliable, more scalable and easier to drive editor than EDT.&lt;BR /&gt;&lt;BR /&gt;  If you really can't retrain your fingers from EDT commands, use EDT keypad mode. Yes OpenVMS will keep EDT around forever for compatibility, but that doesn't mean anyone actually has to USE it. EDT has enough quirks, unreasonable limitations, nasty surprises and outright bugs (none of which will ever be fixed) to make STRONG recommendations against using it.&lt;BR /&gt;&lt;BR /&gt;  Back to the original question... TPU can certainly do anything awk or sed can do.</description>
      <pubDate>Thu, 02 Mar 2006 15:23:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742702#M33785</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2006-03-02T15:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: KSH to DCL command question - easy.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742703#M33786</link>
      <description>Allan,&lt;BR /&gt;&lt;BR /&gt;I guess you could get all the functionality of awk and sed out of perl without too much hassle (as awk and sed were two of the "ancestors" of it).&lt;BR /&gt;&lt;BR /&gt;You can get VMS Alpha and I64 kits from &lt;A href="http://h71000.www7.hp.com/openvms/products/ips/apache/csws_perl_relnotes.html" target="_blank"&gt;http://h71000.www7.hp.com/openvms/products/ips/apache/csws_perl_relnotes.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;  Martin&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Mar 2006 03:01:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742703#M33786</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2006-03-03T03:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: KSH to DCL command question - easy.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742704#M33787</link>
      <description>John G, you will be telling people not to use TECO next :-)&lt;BR /&gt;&lt;BR /&gt;Allan, see TPU manual&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/73final/6020/6020pro.html" target="_blank"&gt;http://h71000.www7.hp.com/doc/73final/6020/6020pro.html&lt;/A&gt;&lt;BR /&gt;or in pdf&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/73final/documentation/pdf/OVMS_73_DEC_TPU_REF.PDF" target="_blank"&gt;http://h71000.www7.hp.com/doc/73final/documentation/pdf/OVMS_73_DEC_TPU_REF.PDF&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can do what you what in TPU but if you are coming from a unix background you may find perl easier.&lt;BR /&gt;&lt;BR /&gt;from the TPU manual&lt;BR /&gt;"DECTPU is a high-performance, programmable, text processing utility that includes the following:&lt;BR /&gt;&lt;BR /&gt;    * A high-level procedural language&lt;BR /&gt;    * A compiler&lt;BR /&gt;    * An interpreter&lt;BR /&gt;    * Text manipulation routines&lt;BR /&gt;    * Integrated display managers for the character-cell terminal and DECwindows environments&lt;BR /&gt;    * The Extensible Versatile Editor (EVE) interface, which is written in DECTPU &lt;BR /&gt;&lt;BR /&gt;DECTPU is a procedural programming language that enables text processing tasks; it is not an application.</description>
      <pubDate>Fri, 03 Mar 2006 03:43:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742704#M33787</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2006-03-03T03:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: KSH to DCL command question - easy.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742705#M33788</link>
      <description>I am looking at implementing something without having to install additional libraries... so i dont think perl would be an option, nor GAWK.</description>
      <pubDate>Fri, 03 Mar 2006 10:04:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742705#M33788</guid>
      <dc:creator>Allan Parsons</dc:creator>
      <dc:date>2006-03-03T10:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: KSH to DCL command question - easy.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742706#M33789</link>
      <description>The responses might improve if you supplied&lt;BR /&gt;a list of constraints and some sample "awk"&lt;BR /&gt;and "sed" commands.  For example, sometimes&lt;BR /&gt;these programs are used to extract a field&lt;BR /&gt;from the output of some program or other,&lt;BR /&gt;where on VMS, a lexical function would&lt;BR /&gt;typically be used.&lt;BR /&gt;&lt;BR /&gt;Whether this is actually "easy" depends on&lt;BR /&gt;many things.  (Everything's complicated.)</description>
      <pubDate>Fri, 03 Mar 2006 10:17:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742706#M33789</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-03-03T10:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: KSH to DCL command question - easy.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742707#M33790</link>
      <description>'awk' and 'sed' were written in C, and C has been ported to just about every platform there is. While you could go to the effort of translating the scripts, it would be far far simpler to get VMS ports of awk and sed, then set up a DCL symbol for each. Why reinvent the wheel?&lt;BR /&gt;While it has been a few years since I worked with them on VMS, each was (and presumably still is) a single .EXE file.&lt;BR /&gt;And now that I write this, if you have TCP/IP Services for VMS installed, look for SYS$COMMON:[SYSHLP.EXAMPLES.TCPIP...]*AWK*.EXE*. If you find it, define the symbol awk to point to it.</description>
      <pubDate>Fri, 03 Mar 2006 17:17:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742707#M33790</guid>
      <dc:creator>Sheldon Smith</dc:creator>
      <dc:date>2006-03-03T17:17:11Z</dc:date>
    </item>
    <item>
      <title>Re: KSH to DCL command question - easy.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742708#M33791</link>
      <description>Sheldon:  Perfect, it is there!  Do you know if SED is around, by default, anywhere?</description>
      <pubDate>Fri, 03 Mar 2006 17:46:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742708#M33791</guid>
      <dc:creator>Allan Parsons</dc:creator>
      <dc:date>2006-03-03T17:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: KSH to DCL command question - easy.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742709#M33792</link>
      <description>Hunter Goatley has SE listed under:&lt;BR /&gt;&lt;A href="http://www.process.com/openvms/index.html" target="_blank"&gt;http://www.process.com/openvms/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I never use it so I don't know its fittness.&lt;BR /&gt;&lt;BR /&gt;There is also port a Gnu-AWK.&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Sat, 04 Mar 2006 04:37:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742709#M33792</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2006-03-04T04:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: KSH to DCL command question - easy.</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742710#M33793</link>
      <description>&lt;BR /&gt;And as all other basic U*x utilities, awk and sed are in the GNV distribution.&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Mar 2006 04:16:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ksh-to-dcl-command-question-easy/m-p/3742710#M33793</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2006-03-06T04:16:53Z</dc:date>
    </item>
  </channel>
</rss>

