<?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: Directory Help in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091134#M88300</link>
    <description>I'm not sure what you mean, but I am sure there is no option for DIRECTORY to get there.&lt;BR /&gt;&lt;BR /&gt;Do you just want to drop the versions and show just 1 copy with no version?&lt;BR /&gt;&lt;BR /&gt;$ pipe dir *.*; | perl -pe "s/;\d+//g"&lt;BR /&gt;&lt;BR /&gt;Note, the ";" after the filespec is critical to report a single (the highest) version.&lt;BR /&gt;&lt;BR /&gt;1 file per line, or columns?&lt;BR /&gt;&lt;BR /&gt;$ perl -le "print foreach (&lt;TMP.&gt;)"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1 name, no extention, no version per 'group'?&lt;BR /&gt;&lt;BR /&gt;$ perl -le "$names{(split /\./)[0]}++ foreach (&amp;lt;*&amp;gt;); print foreach (sort keys %names)"&lt;BR /&gt;&lt;BR /&gt;Why do you need the particular output?&lt;BR /&gt;What problem are you really trying to solve?&lt;BR /&gt;Maybe we can help better know that!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps some,&lt;BR /&gt;Hein van den Heuvel (at gmail dot com)&lt;BR /&gt;HvdH Performance Consulting&lt;BR /&gt;&lt;/TMP.&gt;</description>
    <pubDate>Tue, 05 Feb 2008 17:22:43 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2008-02-05T17:22:43Z</dc:date>
    <item>
      <title>Directory Help</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091132#M88298</link>
      <description>&lt;!--!*#--&gt;VMS 7.3-1.   I have a requirement to find all files with same exact filename without the extension.  For Example:  In my directory&lt;BR /&gt;I have error.com, error.lis, error.rep.&lt;BR /&gt;&lt;BR /&gt;I need some incantation of dir that will return just error. as you see no extension.&lt;BR /&gt;&lt;BR /&gt;Is there a such a parameter?</description>
      <pubDate>Tue, 05 Feb 2008 16:49:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091132#M88298</guid>
      <dc:creator>jjinva</dc:creator>
      <dc:date>2008-02-05T16:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Help</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091133#M88299</link>
      <description>Hi Jjinva,&lt;BR /&gt;&lt;BR /&gt;what you should try is&lt;BR /&gt;&lt;BR /&gt;dir error.&lt;BR /&gt;&lt;BR /&gt;note the trailing full stop&lt;BR /&gt;&lt;BR /&gt;you can see specific versions with&lt;BR /&gt;&lt;BR /&gt;dir error.;-1&lt;BR /&gt;&lt;BR /&gt;etc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Tue, 05 Feb 2008 17:05:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091133#M88299</guid>
      <dc:creator>Duncan Morris</dc:creator>
      <dc:date>2008-02-05T17:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Help</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091134#M88300</link>
      <description>I'm not sure what you mean, but I am sure there is no option for DIRECTORY to get there.&lt;BR /&gt;&lt;BR /&gt;Do you just want to drop the versions and show just 1 copy with no version?&lt;BR /&gt;&lt;BR /&gt;$ pipe dir *.*; | perl -pe "s/;\d+//g"&lt;BR /&gt;&lt;BR /&gt;Note, the ";" after the filespec is critical to report a single (the highest) version.&lt;BR /&gt;&lt;BR /&gt;1 file per line, or columns?&lt;BR /&gt;&lt;BR /&gt;$ perl -le "print foreach (&lt;TMP.&gt;)"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1 name, no extention, no version per 'group'?&lt;BR /&gt;&lt;BR /&gt;$ perl -le "$names{(split /\./)[0]}++ foreach (&amp;lt;*&amp;gt;); print foreach (sort keys %names)"&lt;BR /&gt;&lt;BR /&gt;Why do you need the particular output?&lt;BR /&gt;What problem are you really trying to solve?&lt;BR /&gt;Maybe we can help better know that!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps some,&lt;BR /&gt;Hein van den Heuvel (at gmail dot com)&lt;BR /&gt;HvdH Performance Consulting&lt;BR /&gt;&lt;/TMP.&gt;</description>
      <pubDate>Tue, 05 Feb 2008 17:22:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091134#M88300</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-02-05T17:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Help</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091135#M88301</link>
      <description>This appears to do what you are asking for &lt;BR /&gt;&lt;BR /&gt;$ dir/col=1&lt;BR /&gt;&lt;BR /&gt;Directory ROOT$USERS:[JON.DIRECTORY_TEST]&lt;BR /&gt;&lt;BR /&gt;ABC.1;2            &lt;BR /&gt;ABC.1;1            &lt;BR /&gt;ABC.2;1            &lt;BR /&gt;ABC.3;1            &lt;BR /&gt;DEF.TXT;1          &lt;BR /&gt;&lt;BR /&gt;Total of 5 files.&lt;BR /&gt;$ pipe dir *.*; /select=(file:(nonode,nodev,nodir,notype,nover)) /nohead/notrail | sort sys$pipe sys$output /nodup&lt;BR /&gt;ABC                &lt;BR /&gt;DEF                &lt;BR /&gt;$</description>
      <pubDate>Tue, 05 Feb 2008 18:40:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091135#M88301</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2008-02-05T18:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Help</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091136#M88302</link>
      <description>jjriva,&lt;BR /&gt;&lt;BR /&gt;Yes, DIRECTORY/COLUMN=1 *.; should do it. If you are building this list for further processing, the /NOHEAD and /NOTRAIL parameters may be of use.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Tue, 05 Feb 2008 19:05:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091136#M88302</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-02-05T19:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Help</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091137#M88303</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;Thank you.  That does exactly what I was looking for.</description>
      <pubDate>Tue, 05 Feb 2008 19:30:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091137#M88303</guid>
      <dc:creator>jjinva</dc:creator>
      <dc:date>2008-02-05T19:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Help</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091138#M88304</link>
      <description>Sorry , I meant Jon.</description>
      <pubDate>Tue, 05 Feb 2008 19:43:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091138#M88304</guid>
      <dc:creator>jjinva</dc:creator>
      <dc:date>2008-02-05T19:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Help</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091139#M88305</link>
      <description>I'd probably look to use f$search and f$parse here, depending on the specific requirements.  Parsing output works for this case, but there are alternatives.&lt;BR /&gt;&lt;BR /&gt;In a loop...&lt;BR /&gt;&lt;BR /&gt;f$search("ddcu:[dev]ERROR.*",1)&lt;BR /&gt;&lt;BR /&gt;gets the file&lt;BR /&gt;&lt;BR /&gt;then f$parse to extract the filename from the full specification.&lt;BR /&gt;&lt;BR /&gt;There are almost certainly examples of this DCL file-processing loop around the 'net.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Feb 2008 21:26:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091139#M88305</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-02-05T21:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Directory Help</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091140#M88306</link>
      <description>Answer found thread closed. Thanks for all the replies.</description>
      <pubDate>Tue, 05 Feb 2008 21:50:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/directory-help/m-p/5091140#M88306</guid>
      <dc:creator>jjinva</dc:creator>
      <dc:date>2008-02-05T21:50:52Z</dc:date>
    </item>
  </channel>
</rss>

