From: krewat@kilonet.net (Arthur Krewat)
Subject: [TUHS] basic tools / Universal Unix
Date: Wed, 15 Nov 2017 11:23:20 -0500 [thread overview]
Message-ID: <8b1ce7d5-d626-b523-d134-60efd61a0386@kilonet.net> (raw)
In-Reply-To: <108d318d-3879-e056-8b63-f333f85e5516@kilonet.net>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3185 bytes --]
Ah, a later reply pointed out the minimalist thing. never mind ;)
On 11/15/2017 11:13 AM, Arthur Krewat wrote:
> I still don't get what was so bad about TECO.
>
> *20t$$
> <20 lines of text>
> *fs<text to search for>$<text to replace it with>$$
> *0lt$$ ; type current line to review what you've changed.
>
> Very simple.
>
> *<fstextsearch$textreplace$>$$
>
> replace all occurrences of textsearch.
>
> Now, of course, searching for something like a regular expression was
> much harder.
>
> Q-registers, all sorts of cool stuff.
>
> But then, maybe I'm talking about a later version of TECO than you
> all. I think I was on version 22 on TOPS-10 6.03A
>
>
> On 11/14/2017 10:07 PM, Will Senn wrote:
>> I wasn't going to say it earlier, but now that you've said something
>> about it... I was thinking, thank god, ed isn't teco! :).
>>
>> On 11/14/17 8:37 PM, Warner Losh wrote:
>>> It took me a while to realize that ed(1) is what TECO should have
>>> been.... Too much TECO trauma scared me away for far too long....
>>> But maybe it was all the TECO macros I wrote to make the BH100
>>> terminal useful as an editor in full screen mode....
>>>
>>> Warner
>>>
>>> On Tue, Nov 14, 2017 at 7:16 PM, Larry McVoy <lm at mcvoy.com
>>> <mailto:lm at mcvoy.com>> wrote:
>>>
>>> +1. Anyone who gets this is someone I'd work with.
>>>
>>> On Tue, Nov 14, 2017 at 08:10:41PM -0600, Will Senn wrote:
>>> > On 11/14/17 7:25 PM, Nemo wrote:
>>> > >On 31/10/2017, Dave Horsfall <dave at horsfall.org
>>> <mailto:dave at horsfall.org>> wrote:
>>> > >>A previous boss insisted that all his support staff learn
>>> ED, because one
>>> > >>day it might be the only editor available on a trashed box
>>> (you can't
>>> > >>mount /usr etc).
>>> > >ed man; man ed
>>> > >
>>> > >https://www.gnu.org/fun/jokes/ed-msg.html
>>> <https://www.gnu.org/fun/jokes/ed-msg.html> (Sorry -- could not
>>> resist)
>>> > >
>>> > >N.
>>> >
>>> > For all that it's the butt of jokes, ed is awesome. I didn't
>>> really
>>> > appreciate it until vi wasn't an easy goto option anymore
>>> (v6). After
>>> > reading Kernighan's tutorial, I kind of fell in love with it.
>>> g/re/p? Who'd
>>> > of thunk it? ed may not be 'visual', but the entire document
>>> is editable and
>>> > its support of regex and the global command are incredibly
>>> powerful.
>>> > Especially, for so incredibly tiny an editor. Finally, ed is
>>> the sibling of
>>> > sed and once I got the connection there, it opened up a whole
>>> new world of
>>> > editing awesomeness.
>>> >
>>> > Will
>>> >
>>> > --
>>> > GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF
>>>
>>> --
>>> ---
>>> Larry McVoy lm at mcvoy.com <http://mcvoy.com>
>>> http://www.mcvoy.com/lm
>>>
>>>
>>
>> --
>> GPG Fingerprint: 68F4 B3BD 1730 555A 4462 7D45 3EAA 5B6D A982 BAAF
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20171115/cb1b5fa9/attachment-0001.html>
next prev parent reply other threads:[~2017-11-15 16:23 UTC|newest]
Thread overview: 90+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-30 14:16 Noel Chiappa
2017-10-30 14:40 ` Clem Cole
2017-10-30 15:23 ` Arthur Krewat
2017-10-30 20:56 ` Dave Horsfall
2017-10-31 10:50 ` Ronald Natalie
2017-11-01 3:23 ` Dave Horsfall
2017-11-01 13:25 ` Tim Bradshaw
2017-11-16 1:17 ` Dario Niedermann
2017-11-15 1:25 ` Nemo
2017-11-15 2:10 ` Will Senn
2017-11-15 2:16 ` Larry McVoy
2017-11-15 2:37 ` Warner Losh
2017-11-15 3:07 ` Will Senn
2017-11-15 16:13 ` Arthur Krewat
2017-11-15 16:23 ` Arthur Krewat [this message]
2017-11-15 16:48 ` Clem Cole
2017-11-15 18:13 ` Bakul Shah
2017-11-15 19:01 ` Clem Cole
2017-11-15 19:52 ` [TUHS] TECO was: " Arthur Krewat
2017-11-15 20:19 ` Clem Cole
2017-11-15 20:25 ` Arthur Krewat
2017-11-15 22:18 ` Ralph Corderoy
2017-11-15 22:42 ` [TUHS] :nohlsearch in vim Chris Torek
2017-11-16 2:44 ` Don Hopkins
2017-11-16 4:34 ` [TUHS] TECO was: Re: basic tools / Universal Unix Dave Horsfall
2017-11-16 4:36 ` Jim Capp
2017-11-16 8:42 ` Pete Turnbull
2017-11-18 14:39 ` Ralph Corderoy
2017-11-16 9:19 ` arnold
2017-11-16 21:59 ` Dave Horsfall
2017-11-16 22:58 ` Andy Kosela
2017-11-17 2:17 ` Steve Johnson
2017-11-17 2:38 ` George Michaelson
2017-11-17 3:56 ` Ian Zimmerman
2017-11-17 4:07 ` Steve Nickolas
2017-11-17 8:44 ` Michael Kjörling
2017-11-17 3:50 ` Lyndon Nerenberg
2017-11-17 6:51 ` Andy Kosela
2017-11-17 1:18 ` Greg 'groggy' Lehey
2017-11-16 0:29 ` Grant Taylor
2017-11-16 0:35 ` Grant Taylor
2017-11-16 0:52 ` Warner Losh
2017-11-16 9:29 ` [TUHS] TECO was: " Mutiny
2017-11-16 14:55 ` Clem Cole
2017-11-16 21:26 ` Random832
2017-11-17 9:08 ` Mutiny
2017-11-16 20:35 ` Dave Horsfall
2017-11-16 21:00 ` Clem Cole
2017-11-17 6:28 ` Lars Brinkhoff
2017-11-15 9:58 ` [TUHS] " Andy Kosela
2017-11-15 11:42 ` Ralph Corderoy
2017-11-01 14:05 ` Ralph Corderoy
2017-11-01 16:42 ` arnold
2017-11-01 17:17 ` Ralph Corderoy
2017-11-01 18:03 ` Dan Cross
2017-11-01 18:06 ` arnold
2017-11-01 20:16 ` Bakul Shah
2017-11-01 20:37 ` arnold
2017-11-01 21:04 ` Bakul Shah
2017-11-02 0:05 ` Chet Ramey
2017-11-02 0:10 ` Ralph Corderoy
2017-10-31 16:43 ` Don Hopkins
2017-11-02 17:48 ` Paul Winalski
2017-10-30 21:50 ` Charles Anthony
-- strict thread matches above, loose matches on Subject: below --
2017-11-15 14:06 Noel Chiappa
2017-11-15 17:12 ` Ralph Corderoy
2017-11-15 17:47 ` Larry McVoy
2017-11-15 18:40 ` Bakul Shah
2017-11-15 19:58 ` Larry McVoy
2017-11-01 22:51 Norman Wilson
2017-11-01 23:09 ` Lyndon Nerenberg
2017-11-02 20:29 ` Grant Taylor
2017-10-31 19:23 Norman Wilson
2017-10-30 21:40 Noel Chiappa
2017-10-18 23:03 Doug McIlroy
2017-10-19 3:53 ` Random832
2017-10-19 14:33 ` Steffen Nurpmeso
2017-10-19 14:41 ` Random832
2017-10-19 21:03 ` Steffen Nurpmeso
2017-10-20 19:54 ` Steffen Nurpmeso
2017-10-19 14:32 ` Steffen Nurpmeso
2017-10-16 17:52 Clem Cole
2017-10-16 18:54 ` Dan Cross
2017-10-17 13:51 ` Tony Finch
2017-10-17 20:22 ` Steffen Nurpmeso
2017-10-16 20:05 ` Bakul Shah
2017-10-30 0:55 ` Ralph Corderoy
2017-10-30 2:54 ` Bakul Shah
2017-10-30 14:05 ` Ralph Corderoy
2017-10-16 20:39 ` Andy Kosela
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8b1ce7d5-d626-b523-d134-60efd61a0386@kilonet.net \
--to=krewat@kilonet.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).