Article View: comp.os.msdos.misc
Article #3915Re: Change text in Ascii file?
From: John Savage
Date: Wed, 27 Dec 1995 00:00
Date: Wed, 27 Dec 1995 00:00
17 lines
1666 bytes
1666 bytes
jwsmith@teleport.com (John W. Smith) writes: > Does anyone know of a way to use a batch file to change a few > letters in a specific line of text in an ascii file? Forget DOS and edlin, it's not worth bothering with when there are more versatile batch editors available. e.g., using SED to change line 15, sed '15s/change/modify/g' <file1 >file2 ftp ftp.cdrom.com /pub/simtel/msdos/textutil/ sed15x.zip 21163 911015 Unix-compatible streaming editor v1.5 EXE/docs ftp ftp.cdrom.com /pub/garbo/garbo_pc/editor/ u-sedit2.zip SED v2.0; unixish stream line editor for MS-DOS -- John Savage koala@sydney.dialix.com.au
Technical Details
Message-ID:
<4br7ia$7m6$1@sydney.DIALix.oz.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<wz0zwUCoRicI084yn@teleport.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d683,ad67a4f51d5f2003,start X-Google-Attributes: gid10d683,public X-Google-Thread: f53ba,ad67a4f51d5f2003,start X-Google-Attributes: gidf53ba,public X-Google-Thread: 104805,ad67a4f51d5f2003,start X-Google-Attributes: gid104805,public X-Google-Thread: 111d31,ad67a4f51d5f2003,start X-Google-Attributes: gid111d31,public X-Google-Thread: 1674b9,ad67a4f51d5f2003,start X-Google-Attributes: gid1674b9,public X-Google-Thread: f71eb,ad67a4f51d5f2003,start X-Google-Attributes: gidf71eb,public From: John Savage <koala@sydney.dialix.com.au> Subject: Re: Change text in Ascii file? Date: 1995/12/27 Message-ID: <4br7ia$7m6$1@sydney.DIALix.oz.au> X-Deja-AN: 122929290 sender: koala@sydney.DIALix.oz.au references: <wz0zwUCoRicI084yn@teleport.com> 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,alt.msdos.batch