Article View: gnu.emacs.help
Article #189235Column oriented search and replace
From: Jeff Dwork
Date: Tue, 16 Apr 1991 20:42
Date: Tue, 16 Apr 1991 20:42
16 lines
1339 bytes
1339 bytes
I frequently have to work with files containing many columns of numbers. I want to do things like "search for the string 103 beginning in column 25" or "replace every 0 in column 17 with 1". Has anyone written things to do this? I know that I can do the search with regexp '^........................103' and the replace by killing a rectangle, yanking into a new buffer, changing, killing and yanking back in the original buffer - but isn't there an easier way? Thanks, -- Jeff Dwork | 408-749-2356 | dwork@AMD.COM Advanced Micro Devices, M/S 45 |--------------------------------------- PO Box 3453 | The above opionions are mine, Sunnyvale, Ca 94088 | not AMD's.
Technical Details
Message-ID:
<1991Apr16.204234.27753@amd.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!unidui!math.fu-berlin.de!fauern!ira.uka.de!sol.ctr.columbia.edu!samsung!olivea!oliveb!veritas!amdcad!brahms!dworkReferences:
<9104151304.AA12675@crdgw1.ge.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,a08aab4ba3e56953 X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1991-04-16 22:58:53 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!unidui!math.fu-berlin.de!fauern!ira.uka.de!sol.ctr.columbia.edu!samsung!olivea!oliveb!veritas!amdcad!brahms!dwork From: dwork@brahms.amd.com (Jeff Dwork) Newsgroups: gnu.emacs.help Subject: Column oriented search and replace Message-ID: <1991Apr16.204234.27753@amd.com> Date: 16 Apr 91 20:42:34 GMT References: <9104151304.AA12675@crdgw1.ge.com> Sender: usenet@amd.com (NNTP Posting) Organization: Advanced Micro Devices; Sunnyvale, CA Lines: 16