From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3CC93DE9.81C28B30@strakt.com> From: Boyd Roberts MIME-Version: 1.0 To: 9fans@cse.psu.edu Subject: Re: [9fans] text editor References: <20020426113654.8D85D199EE@mail.cse.psu.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 26 Apr 2002 13:45:45 +0200 Topicbox-Message-UUID: 7b2b660c-eaca-11e9-9e20-41e7f4b1d025 rog@vitanuova.com wrote: > i think sam -d is great. it's an excellent complement to acme for > those times when you want to make global changes to many files at once > without seeing all of them. i never use normal "downloaded" sam these > days. Oh, I meant interactively. Obviously, sam is perfect for what you describe. I think acme has some neat ideas -- I just can't use it [mindset problem]. ob sam -d: # construct reply ( EDITOR='sam -d' rep -i > /dev/null 2>&1 <<'!' /^To:.*\n( .*\n)+/ x/\n /c/ / /^To:.*\n/ ...t. x/[\-a-zA-Z0-9._&]+@/c/postmaster@/ /^To:.*\n/ /^To:.*\n/ s/^To:/Cc:/ ,x/^Cc: \n/d ,x/^Bcc: \n/d ,x/^Subject: \n/d 1,/^\n/ a die, worthless spammer. postmaster: check out the Mail Abuse Protection System (MAPS) http://maps.vix.com ... 1,/^$/p w q ! ) || exit 1