🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #35961

replacing nth occurance on line

#35961
From: ian
Date: Mon, 02 Jan 1989 21:52
11 lines
871 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
Technical Details
Message-ID: <127200052@inmet>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!csd4.milw.wisc.edu!bbn!inmet!ishmael!inmet!ian

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!csd4.milw.wisc.edu!bbn!inmet!ishmael!inmet!ian
From: ian@inmet
Newsgroups: comp.sys.mac
Subject: replacing nth occurance on line
Message-ID: <127200052@inmet>
Date: 2 Jan 89 21:52:00 GMT
Lines: 11
Nf-ID: #N:inmet:127200052:000:517
Nf-From: inmet!ian    Jan  2 16:52:00 1989