🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #35974

Re: replacing nth occurance on line

#35974
From: Barry Eynon
Date: Wed, 04 Jan 1989 16:24
15 lines
1082 bytes
In article <127200052@inmet> ian@inmet writes:
>
>Does anyone know of a utility or text editor for the Mac
>which will replace the nth occurance of a string on a line?
>
>In other words, I have a number of data fields in  a text document
>separated by tabs and i want to replace the first tab by a '-'
>the second by '...' etc.

QUED/M from Paragon Concepts has a regular expression option in it's
search and replace that can easily do what you want. The program has
many other nice features, including multiple file search, macros, etc.
It has everything I've ever needed in a text editor.
Check it out.
-Barry Eynon
Technical Details
Message-ID: <1526@lindy.Stanford.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!purdue!decwrl!labrea!lindy!eynon
References: <127200052@inmet>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!purdue!decwrl!labrea!lindy!eynon
From: eynon@lindy.Stanford.EDU (Barry Eynon)
Newsgroups: comp.sys.mac
Subject: Re: replacing nth occurance on line
Message-ID: <1526@lindy.Stanford.EDU>
Date: 4 Jan 89 16:24:58 GMT
References: <127200052@inmet>
Reply-To: eynon@lindy.Stanford.EDU (Barry Eynon)
Organization: Stanford Data Center
Lines: 15