🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.misc
Article #3863

Re: DOS program for replacing text in multiple files

#3863
From: John Savage
Date: Thu, 29 Feb 1996 00:00
15 lines
1666 bytes
julian.ilicki@soc.uu.se (Dr Julian Ilicki) writes:
>Let's say I have a number of text files (ASCII) with different
>contents, but every file contains the same string of characters
>e.g. "John". Now, I would like to replace all "John" in all these
>files with "Bill".

ftp ftp.coast.net /SimTel/msdos/textutil/
chang501.zip  B   75902  950112  Change strings in text files
change17.zip  B   16992  930130  Change text in one or more files
repstr40.zip  B   94420  930714  Remove or modify strings in text files
sed15x.zip    B   21163  911015  Unix-compatible streaming editor v1.5 EXE/docs

e.g., sed 's/John/Bill/g' <filein >fileout
--
John Savage               koala@sydney.dialix.com.au
Technical Details
Message-ID: <4h3vu6$b6v$1@sydney.DIALix.oz.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4ggfd3$29dm@columba.udac.uu.se>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d683,9167b636e1508153,start
X-Google-Attributes: gid10d683,public
X-Google-Thread: f53ba,9167b636e1508153,start
X-Google-Attributes: gidf53ba,public
X-Google-Thread: 111d31,9167b636e1508153,start
X-Google-Attributes: gid111d31,public
X-Google-Thread: 1674b9,9167b636e1508153,start
X-Google-Attributes: gid1674b9,public
X-Google-Thread: f71eb,9167b636e1508153,start
X-Google-Attributes: gidf71eb,public
From: John Savage <koala@sydney.dialix.com.au>
Subject: Re: DOS program for replacing text in multiple files
Date: 1996/02/29
Message-ID: <4h3vu6$b6v$1@sydney.DIALix.oz.au>
X-Deja-AN: 141587206
sender: koala@sydney.DIALix.oz.au
references: <4ggfd3$29dm@columba.udac.uu.se>
followup-to: comp.os.msdos.misc
organization: Gumleaf Smoke Signals Telegraph Co.
newsgroups: comp.os.msdos.misc,comp.binaries.ibm.pc.wanted,comp.archives.msdos.d,comp.sys.ibm.pc.misc,aus.computers.ibm-pc