Re: Text processing on VMS

Liste des GroupesRevenir à co vms 
Sujet : Re: Text processing on VMS
De : news (at) *nospam* cct-net.co.uk (Chris Townley)
Groupes : comp.os.vms
Date : 13. Oct 2024, 16:20:20
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vegofl$l211$1@dont-email.me>
References : 1
User-Agent : Mozilla Thunderbird
On 13/10/2024 16:04, David Meyer wrote:
I've got a text file with data that I want to select lines matching
certain character strings, then extract string values from the selected
lines by character position. On Unix, I would use awk or Perl. Does VMS
have a similar tool, should I use my favorite programming language and
call the STR$ RTL, can I write a TPU script to do this, or should I
transfer the file to a Unix box and user awk or Perl? ;)
 
I have often done this in this manner:
Search file for matching records to second file.
Read through in a DCL loop, and use f$locate to find the string, then f$extract to extract what I want, then write to a third file.
--
Chris

Date Sujet#  Auteur
13 Oct 24 * Text processing on VMS17David Meyer
13 Oct 24 +* Re: Text processing on VMS2Chris Townley
14 Oct 24 i`- Re: Text processing on VMS1David Meyer
13 Oct 24 +- Re: Text processing on VMS1Craig A. Berry
13 Oct 24 +* Re: Text processing on VMS12Arne Vajhøj
13 Oct 24 i`* Re: Text processing on VMS11Dave Froble
13 Oct 24 i `* Re: Text processing on VMS10Arne Vajhøj
13 Oct 24 i  +* Re: Text processing on VMS5Craig A. Berry
14 Oct 24 i  i`* Re: Text processing on VMS4Arne Vajhøj
14 Oct 24 i  i +- Re: Text processing on VMS1Arne Vajhøj
14 Oct 24 i  i +- Re: Text processing on VMS1Arne Vajhøj
14 Oct 24 i  i `- Re: Text processing on VMS1Arne Vajhøj
14 Oct 24 i  `* Re: Text processing on VMS4Arne Vajhøj
14 Oct 24 i   +* Re: Text processing on VMS2Simon Clubley
14 Oct 24 i   i`- Re: Text processing on VMS1Arne Vajhøj
14 Oct 24 i   `- Re: Text processing on VMS1Dave Froble
13 Oct 24 `- Re: Text processing on VMS1Stephen Hoffman

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal