🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #36000

Re: replacing nth occurance on line

#36000
From: Scott Bayes
Date: Wed, 04 Jan 1989 23:37
19 lines
1176 bytes
>
>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.
>
>=============================================================================
>Ian Dowell                                                 ian@inmet.inmet.com
>Intermetrics, Inc.                                             uunet!inmet!ian

If you're not concerned about blazing speed, and if the file is text and
not some word processor's proprietary format, HyperCard should do the trick
quite nicely, though you'd have to write a few lines of HyperTalk. I could
write it for you, if you give me the spec and a sample text.

Scott Bayes
bayes@hpfcla
Technical Details
Message-ID: <11010047@hpfcdc.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!ucbvax!hplabs!hpfcdc!bayes
References: <127200052@inmet>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!ucbvax!hplabs!hpfcdc!bayes
From: bayes@hpfcdc.HP.COM (Scott Bayes)
Newsgroups: comp.sys.mac
Subject: Re: replacing nth occurance on line
Message-ID: <11010047@hpfcdc.HP.COM>
Date: 4 Jan 89 23:37:52 GMT
References: <127200052@inmet>
Organization: HP Ft. Collins, Co.
Lines: 19