Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

To save a single life is better than to build a seven story pagoda.


arts / rec.arts.sf.written / Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

SubjectAuthor
* Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerJames Nicoll
`* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plaugerpete...@gmail.com
 `* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plaugerted@loft.tnolan.com (Ted Nolan
  +* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerPaul S Person
  |`* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerRoss Presser
  | `- Re: Young People Read Old Hugo Finalists: Child of All Ages by P.Andy Leighton
  +* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plaugerpete...@gmail.com
  |+* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plaugerted@loft.tnolan.com (Ted Nolan
  ||`* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerAhasuerus
  || `* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plaugerted@loft.tnolan.com (Ted Nolan
  ||  `- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerAhasuerus
  |`* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Gary R. Schmidt
  | +* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.ted@loft.tnolan.com (Ted Nolan
  | |`- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Gary R. Schmidt
  | `* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerDefault User
  |  +* Re: Young People Read Old Hugo Finalists: Child of All Ages by P.Thomas Koenig
  |  |+* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerScott Lurndal
  |  ||+* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerRoss Presser
  |  |||`- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerJ. Clarke
  |  ||`- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Dimensional Traveler
  |  |`* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerDefault User
  |  | +* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerScott Lurndal
  |  | |`* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerDefault User
  |  | | +* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerJames Nicoll
  |  | | |+* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Gary R. Schmidt
  |  | | ||`* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Michael F. Stemper
  |  | | || `* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Gary R. Schmidt
  |  | | ||  `* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Lynn McGuire
  |  | | ||   `* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Gary R. Schmidt
  |  | | ||    `* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Lynn McGuire
  |  | | ||     `* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.ted@loft.tnolan.com (Ted Nolan
  |  | | ||      `- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Lynn McGuire
  |  | | |`* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Lynn McGuire
  |  | | | `* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.ted@loft.tnolan.com (Ted Nolan
  |  | | |  +* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Lynn McGuire
  |  | | |  |+* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Gary R. Schmidt
  |  | | |  ||`* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.ted@loft.tnolan.com (Ted Nolan
  |  | | |  || `- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Gary R. Schmidt
  |  | | |  |`- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerScott Lurndal
  |  | | |  +* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Michael F. Stemper
  |  | | |  |+* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.ted@loft.tnolan.com (Ted Nolan
  |  | | |  ||`* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Michael F. Stemper
  |  | | |  || `* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.ted@loft.tnolan.com (Ted Nolan
  |  | | |  ||  `* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plaugerpete...@gmail.com
  |  | | |  ||   `- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plaugerted@loft.tnolan.com (Ted Nolan
  |  | | |  |`- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerScott Lurndal
  |  | | |  `* Re: Young People Read Old Hugo Finalists: Child of All Ages by P.Christian Weisgerber
  |  | | |   +* Re: Young People Read Old Hugo Finalists: Child of All Ages by P.ted@loft.tnolan.com (Ted Nolan
  |  | | |   |`- Re: Young People Read Old Hugo Finalists: Child of All Ages by P.Christian Weisgerber
  |  | | |   +* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Gary R. Schmidt
  |  | | |   |`* Re: Young People Read Old Hugo Finalists: Child of All Ages by P.Thomas Koenig
  |  | | |   | +* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Michael F. Stemper
  |  | | |   | |+- Re: Young People Read Old Hugo Finalists: Child of All Ages by P.Chris Buckley
  |  | | |   | |+* Re: Young People Read Old Hugo Finalists: Child of All Ages by P.Thomas Koenig
  |  | | |   | ||+- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerScott Lurndal
  |  | | |   | ||+* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Gary R. Schmidt
  |  | | |   | |||`* Re: Young People Read Old Hugo Finalists: Child of All Ages by P.Thomas Koenig
  |  | | |   | ||| `* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Gary R. Schmidt
  |  | | |   | |||  `- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerScott Lurndal
  |  | | |   | ||+- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Michael F. Stemper
  |  | | |   | ||`* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerRobert Carnegie
  |  | | |   | || +* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerPaul S Person
  |  | | |   | || |`* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerScott Lurndal
  |  | | |   | || | `- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerScott Lurndal
  |  | | |   | || `- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerScott Lurndal
  |  | | |   | |`- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Gary R. Schmidt
  |  | | |   | `- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerScott Lurndal
  |  | | |   `- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Michael F. Stemper
  |  | | +- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plaugerted@loft.tnolan.com (Ted Nolan
  |  | | `* Re: Young People Read Old Hugo Finalists: Child of All Ages by P.Thomas Koenig
  |  | |  `- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Gary R. Schmidt
  |  | `* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Michael F. Stemper
  |  |  `- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerPaul S Person
  |  +* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Lynn McGuire
  |  |`* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.ted@loft.tnolan.com (Ted Nolan
  |  | `* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerScott Lurndal
  |  |  `* Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Gary R. Schmidt
  |  |   +- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Dimensional Traveler
  |  |   `- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. PlaugerScott Lurndal
  |  `- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Gary R. Schmidt
  `- Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.Lynn McGuire

Pages:1234
Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71794&group=rec.arts.sf.written#71794

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!inka.de!mips.inka.de!.POSTED.localhost!not-for-mail
From: nad...@mips.inka.de (Christian Weisgerber)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P.
J. Plauger
Date: Tue, 12 Apr 2022 23:03:21 -0000 (UTC)
Message-ID: <slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>
References: <t2hc3a$dfm$2@reader2.panix.com>
<ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com>
<t32jsj$gkr$1@reader1.panix.com> <t32qv2$e43$1@dont-email.me>
<jbk9b5Feoi9U1@mid.individual.net>
Injection-Date: Tue, 12 Apr 2022 23:03:21 -0000 (UTC)
Injection-Info: lorvorc.mips.inka.de; posting-host="localhost:::1";
logging-data="82424"; mail-complaints-to="usenet@mips.inka.de"
User-Agent: slrn/1.0.3 (FreeBSD)
 by: Christian Weisgerber - Tue, 12 Apr 2022 23:03 UTC

On 2022-04-12, Ted Nolan <tednolan> <ted@loft.tnolan.com> wrote:

> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim nonsense
> I have to use on Linux.

That's actually nvi and not "real vi".

Original vi, updated to build on modern systems, is available on
FreeBSD as a port/package. Look for "2bsd-vi".

Anyway, as everybody knows, the standard Unix editor is ed(1).

--
Christian "naddy" Weisgerber naddy@mips.inka.de

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<jbms0vFu353U1@mid.individual.net>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71801&group=rec.arts.sf.written#71801

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ...@ednolan (ted@loft.tnolan.com (Ted Nolan)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger
Date: 13 Apr 2022 02:49:03 GMT
Organization: loft
Lines: 43
Message-ID: <jbms0vFu353U1@mid.individual.net>
References: <t2hc3a$dfm$2@reader2.panix.com> <t34qmq$9nc$1@dont-email.me> <jbmau8Fr2tmU1@mid.individual.net> <ac004e5d-bb4b-4108-a084-c1fd64fe3823n@googlegroups.com>
X-Trace: individual.net lZYV9NeNFBKFs2zdi2penA8YFUoKiiD+FWM6VImrnmIYU+KyUX
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:VzQcM8P3V05mcvjYDKlSFiGPxwk=
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
 by: ted@loft.tnolan.com - Wed, 13 Apr 2022 02:49 UTC

In article <ac004e5d-bb4b-4108-a084-c1fd64fe3823n@googlegroups.com>,
pete...@gmail.com <petertrei@gmail.com> wrote:
>On Tuesday, April 12, 2022 at 5:57:32 PM UTC-4, Ted Nolan <tednolan> wrote:
>> In article <t34qmq$9nc$1...@dont-email.me>,
>> Michael F. Stemper <michael...@gmail.com> wrote:
>> >On 12/04/2022 16.12, Ted Nolan <tednolan> wrote:
>> >> In article <t34pok$vau$4...@dont-email.me>,
>> >> Michael F. Stemper <michael...@gmail.com> wrote:
>> >>> On 11/04/2022 22.17, Ted Nolan <tednolan> wrote:
>> >
>> >>>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim
>> >>> nonsense
>> >>>> I have to use on Linux.
>> >>>
>> >>> What distro doesn't have vi? Ubuntu only has vi:
>> >>>
>> >>
>> >> You may think that, but do
>> >>
>> >> vi --version
>> >
>> >That's a rather lengthy "--version" text. And, yes, you're
>> >right, it is vim. The fact that I've been using Ubuntu since
>> >2009 without ever noticing any difference between it and the
>> >vi that I started using on AIX in 1992 tells me that I don't
>> >need to lose any sleep over the purity of its essence.
>> >
>> If you're happy, that's great. I get perturbed when something I've
>> trained my fingers to do for 20 years gets a different result.
>
>I've been using emacs for 40+ years. I can do a minimal level of
>vi, but will put emacs on any system I use more than a day.
>
>Unfortunately, a good chunk of my job involves VMs that live
>a few hours, max.
>
>Pt

I used to install emacs so I could edit strings in compiled programs.
Haven't had to do that for a while..
--
columbiaclosings.com
What's not in Columbia anymore..

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<jbmsa1Fu353U2@mid.individual.net>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71802&group=rec.arts.sf.written#71802

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ...@ednolan (ted@loft.tnolan.com (Ted Nolan)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P.
J. Plauger
Date: 13 Apr 2022 02:53:54 GMT
Organization: loft
Lines: 30
Message-ID: <jbmsa1Fu353U2@mid.individual.net>
References: <t2hc3a$dfm$2@reader2.panix.com> <t32qv2$e43$1@dont-email.me> <jbk9b5Feoi9U1@mid.individual.net> <slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>
X-Trace: individual.net YBBDudDVvH1U1/J80TDbggEfri7puDHMa2llmk9XySZFGlXfpM
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:5+nXh0YkOLfTGYg/0iEJOIOZcms=
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
 by: ted@loft.tnolan.com - Wed, 13 Apr 2022 02:53 UTC

In article <slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>,
Christian Weisgerber <naddy@mips.inka.de> wrote:
>On 2022-04-12, Ted Nolan <tednolan> <ted@loft.tnolan.com> wrote:
>
>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim
>nonsense
>> I have to use on Linux.
>
>That's actually nvi and not "real vi".
>

It's close:

nex/nvi are intended as bug-for-bug compatible
replacements for the original Fourth Berkeley Software Distribution
(4BSD) ex and vi programs.

>Original vi, updated to build on modern systems, is available on
>FreeBSD as a port/package. Look for "2bsd-vi".
>

I may check that out sometime.

>Anyway, as everybody knows, the standard Unix editor is ed(1).
>

Yep. I still write ed scripts several times a year.
--
columbiaclosings.com
What's not in Columbia anymore..

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<4gthii-cbl.ln1@paranoia.mcleod-schmidt.id.au>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71806&group=rec.arts.sf.written#71806

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: grschm...@acm.org (Gary R. Schmidt)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.
Plauger
Date: Wed, 13 Apr 2022 13:43:52 +1000
Lines: 17
Message-ID: <4gthii-cbl.ln1@paranoia.mcleod-schmidt.id.au>
References: <t2hc3a$dfm$2@reader2.panix.com>
<ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com>
<t32jsj$gkr$1@reader1.panix.com> <t32qv2$e43$1@dont-email.me>
<jbk9b5Feoi9U1@mid.individual.net>
<slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net d45CgV2dF5uPeKzValgc2QUt0HFdtFMHo5scVUPicVZMv68Ug=
X-Orig-Path: paranoia.mcleod-schmidt.id.au!not-for-mail
Cancel-Lock: sha1:Lu+xOvBIf3fyHm4jEz/M/KYJwN8=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Betterbird/91.8.0
Content-Language: en-AU
In-Reply-To: <slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>
X-Clacks-Overhead: GNU Terry Pratchett
 by: Gary R. Schmidt - Wed, 13 Apr 2022 03:43 UTC

On 13/04/2022 09:03, Christian Weisgerber wrote:
> On 2022-04-12, Ted Nolan <tednolan> <ted@loft.tnolan.com> wrote:
>
>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim nonsense
>> I have to use on Linux.
>
> That's actually nvi and not "real vi".
>
> Original vi, updated to build on modern systems, is available on
> FreeBSD as a port/package. Look for "2bsd-vi".
>
> Anyway, as everybody knows, the standard Unix editor is ed(1).
>
No, it's "cat - > abc" :-)

Cheers,
Gary B-)

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<authii-9dn.ln1@paranoia.mcleod-schmidt.id.au>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71807&group=rec.arts.sf.written#71807

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: grschm...@acm.org (Gary R. Schmidt)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.
Plauger
Date: Wed, 13 Apr 2022 13:51:26 +1000
Lines: 34
Message-ID: <authii-9dn.ln1@paranoia.mcleod-schmidt.id.au>
References: <t2hc3a$dfm$2@reader2.panix.com>
<c165c387-ca5e-47f4-b585-0cbc021f296fn@googlegroups.com>
<u035K.52307$rWve.2190@fx01.iad>
<ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com>
<t32jsj$gkr$1@reader1.panix.com>
<bm6fii-0jd.ln1@paranoia.mcleod-schmidt.id.au> <t34pjr$vau$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 93TZsnxkm+bUdhJqF18GjA0XGjxPqsoDln0ixpO5frwPxGJS8=
X-Orig-Path: paranoia.mcleod-schmidt.id.au!not-for-mail
Cancel-Lock: sha1:Km9Sqyyk9QSU23yhD+saU6r1BYQ=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Betterbird/91.8.0
Content-Language: en-AU
In-Reply-To: <t34pjr$vau$3@dont-email.me>
X-Clacks-Overhead: GNU Terry Pratchett
 by: Gary R. Schmidt - Wed, 13 Apr 2022 03:51 UTC

On 13/04/2022 07:06, Michael F. Stemper wrote:
> On 11/04/2022 22.02, Gary R. Schmidt wrote:
>> On 12/04/2022 11:16, James Nicoll wrote:
>
>>> I still use vi...
>>
>> Some of my UNIX systems only have vi, but that's because
>> $(CORPORATION)/$(BANK)/$(GOVERNMENT_DEPARTMENT) spent so very, very,
>> very much with IBM or HP or Sun that they intend to run those machines
>> until there is only rust left on the Data Centre floor.  (Not that
>> they don't do the same with Linux or Winderrs, I have to keep RHEL5
>> and W2K3 boxes alive (and off the network) just for them.  At least I
>> got rid of the Solaris 2.5 (yes, 2.5, not 2.5.1) boxes in 2015.)
>>
>> Although recent Solaris versions have vim as a replacement for vi:
>> $ ll /bin/vi
>>     1 lrwxrwxrwx   1 root     root           3 Jul 14  2019 /bin/vi ->
>> vim*
>>
>> Anything that doesn't have vi/vim on it that will be around for more
>> than five minutes gets vim installed quick smart!  (And Cygwin if it's
>> Winderrs.)
>
> I even used vi on DOS.
>
It was part of a UNIX toolkit that I remember getting back then - can't
remember the name now, but it had a real tar that would access floppies
correctly, and awk and sed and pack and ed and a proper sh and all the
goodies.

And being 16-bit, it was very like being on Version 7 on a PDP-11!! :-)

Cheers,
Gary B-)

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<t35p2e$246$1@newsreader4.netcologne.de>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71812&group=rec.arts.sf.written#71812

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd6-3c49-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de!not-for-mail
From: tkoe...@netcologne.de (Thomas Koenig)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P.
J. Plauger
Date: Wed, 13 Apr 2022 06:02:54 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <t35p2e$246$1@newsreader4.netcologne.de>
References: <t2hc3a$dfm$2@reader2.panix.com>
<ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com>
<t32jsj$gkr$1@reader1.panix.com> <t32qv2$e43$1@dont-email.me>
<jbk9b5Feoi9U1@mid.individual.net>
<slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>
<4gthii-cbl.ln1@paranoia.mcleod-schmidt.id.au>
Injection-Date: Wed, 13 Apr 2022 06:02:54 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd6-3c49-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2001:4dd6:3c49:0:7285:c2ff:fe6c:992d";
logging-data="2182"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Wed, 13 Apr 2022 06:02 UTC

Gary R. Schmidt <grschmidt@acm.org> schrieb:
> On 13/04/2022 09:03, Christian Weisgerber wrote:
>> On 2022-04-12, Ted Nolan <tednolan> <ted@loft.tnolan.com> wrote:
>>
>>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim nonsense
>>> I have to use on Linux.
>>
>> That's actually nvi and not "real vi".
>>
>> Original vi, updated to build on modern systems, is available on
>> FreeBSD as a port/package. Look for "2bsd-vi".
>>
>> Anyway, as everybody knows, the standard Unix editor is ed(1).
>>
> No, it's "cat - > abc" :-)
^^^

What's that minus sign doing there?

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<t36hrq$pj1$1@dont-email.me>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71814&group=rec.arts.sf.written#71814

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: michael....@gmail.com (Michael F. Stemper)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.
Plauger
Date: Wed, 13 Apr 2022 08:06:01 -0500
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <t36hrq$pj1$1@dont-email.me>
References: <t2hc3a$dfm$2@reader2.panix.com>
<ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com>
<t32jsj$gkr$1@reader1.panix.com> <t32qv2$e43$1@dont-email.me>
<jbk9b5Feoi9U1@mid.individual.net>
<slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 13 Apr 2022 13:06:02 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="0700be674ac3d5a01886ebd10ed5b984";
logging-data="26209"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19BjN1Z7RRmaC//5AWMtu2Mq8nw9WGXWTs="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
Cancel-Lock: sha1:ueg1iaLvheGYw8gYTZSXTe0NiM4=
In-Reply-To: <slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>
Content-Language: en-US
 by: Michael F. Stemper - Wed, 13 Apr 2022 13:06 UTC

On 12/04/2022 18.03, Christian Weisgerber wrote:
> On 2022-04-12, Ted Nolan <tednolan> <ted@loft.tnolan.com> wrote:
>
>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim nonsense
>> I have to use on Linux.
>
> That's actually nvi and not "real vi".
>
> Original vi, updated to build on modern systems, is available on
> FreeBSD as a port/package. Look for "2bsd-vi".
>
> Anyway, as everybody knows, the standard Unix editor is ed(1).

I've written more than one ksh script using cat.

--
Michael F. Stemper
Nostalgia just ain't what it used to be.

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<t36i2k$pj1$2@dont-email.me>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71815&group=rec.arts.sf.written#71815

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: michael....@gmail.com (Michael F. Stemper)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.
Plauger
Date: Wed, 13 Apr 2022 08:09:40 -0500
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <t36i2k$pj1$2@dont-email.me>
References: <t2hc3a$dfm$2@reader2.panix.com>
<ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com>
<t32jsj$gkr$1@reader1.panix.com> <t32qv2$e43$1@dont-email.me>
<jbk9b5Feoi9U1@mid.individual.net>
<slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>
<4gthii-cbl.ln1@paranoia.mcleod-schmidt.id.au>
<t35p2e$246$1@newsreader4.netcologne.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 13 Apr 2022 13:09:40 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="0700be674ac3d5a01886ebd10ed5b984";
logging-data="26209"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19SOA/Nz9HVQERXhhDBvs6fSGOhSZDqGew="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
Cancel-Lock: sha1:UloHHMnaLO0cYftNgtYdLIxWfU4=
In-Reply-To: <t35p2e$246$1@newsreader4.netcologne.de>
Content-Language: en-US
 by: Michael F. Stemper - Wed, 13 Apr 2022 13:09 UTC

On 13/04/2022 01.02, Thomas Koenig wrote:
> Gary R. Schmidt <grschmidt@acm.org> schrieb:
>> On 13/04/2022 09:03, Christian Weisgerber wrote:
>>> On 2022-04-12, Ted Nolan <tednolan> <ted@loft.tnolan.com> wrote:
>>>
>>>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim nonsense
>>>> I have to use on Linux.
>>>
>>> That's actually nvi and not "real vi".
>>>
>>> Original vi, updated to build on modern systems, is available on
>>> FreeBSD as a port/package. Look for "2bsd-vi".
>>>
>>> Anyway, as everybody knows, the standard Unix editor is ed(1).
>>>
>> No, it's "cat - > abc" :-)
>
> What's that minus sign doing there?

If you're not being facetious, here's a line from the man page:

With no FILE, or when FILE is -, read standard input.

I don't see the point, but that's how it is.

--
Michael F. Stemper
Nostalgia just ain't what it used to be.

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<jbo2vrF6lh4U1@mid.individual.net>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71819&group=rec.arts.sf.written#71819

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: ala...@sabir.com (Chris Buckley)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P.
J. Plauger
Date: 13 Apr 2022 13:54:03 GMT
Lines: 33
Message-ID: <jbo2vrF6lh4U1@mid.individual.net>
References: <t2hc3a$dfm$2@reader2.panix.com>
<ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com>
<t32jsj$gkr$1@reader1.panix.com> <t32qv2$e43$1@dont-email.me>
<jbk9b5Feoi9U1@mid.individual.net>
<slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>
<4gthii-cbl.ln1@paranoia.mcleod-schmidt.id.au>
<t35p2e$246$1@newsreader4.netcologne.de> <t36i2k$pj1$2@dont-email.me>
X-Trace: individual.net BmGn6gdMD0g6xfJNWfaipwQHl/+kXJ5J3L9fwnSc0COyQLtA9B
Cancel-Lock: sha1:80G4AVJ1Z+bn4vHfFDtOSHFkAhg=
User-Agent: slrn/1.0.3 (Linux)
 by: Chris Buckley - Wed, 13 Apr 2022 13:54 UTC

On 2022-04-13, Michael F. Stemper <michael.stemper@gmail.com> wrote:
> On 13/04/2022 01.02, Thomas Koenig wrote:
>> Gary R. Schmidt <grschmidt@acm.org> schrieb:
>>> On 13/04/2022 09:03, Christian Weisgerber wrote:
>>>> On 2022-04-12, Ted Nolan <tednolan> <ted@loft.tnolan.com> wrote:
>>>>
>>>>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim nonsense
>>>>> I have to use on Linux.
>>>>
>>>> That's actually nvi and not "real vi".
>>>>
>>>> Original vi, updated to build on modern systems, is available on
>>>> FreeBSD as a port/package. Look for "2bsd-vi".
>>>>
>>>> Anyway, as everybody knows, the standard Unix editor is ed(1).
>>>>
>>> No, it's "cat - > abc" :-)
>>
>> What's that minus sign doing there?
>
> If you're not being facetious, here's a line from the man page:
>
> With no FILE, or when FILE is -, read standard input.
>
> I don't see the point, but that's how it is.

Sorry, the "-" option isn't needed in that command and everybody knows
that proper UNIX must be as terse as possible!

Original UNIX "cat" didn't have the "-" option in any case (though it
was in Version 6 when I was learning it.)

Chris

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<gmB5K.419967$iK66.394142@fx46.iad>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71820&group=rec.arts.sf.written#71820

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx46.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger
Newsgroups: rec.arts.sf.written
Distribution: world
References: <t2hc3a$dfm$2@reader2.panix.com> <ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com> <t32jsj$gkr$1@reader1.panix.com> <t32qv2$e43$1@dont-email.me> <jbk9b5Feoi9U1@mid.individual.net> <slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de> <4gthii-cbl.ln1@paranoia.mcleod-schmidt.id.au> <t35p2e$246$1@newsreader4.netcologne.de>
Lines: 21
Message-ID: <gmB5K.419967$iK66.394142@fx46.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 13 Apr 2022 14:45:32 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 13 Apr 2022 14:45:32 GMT
X-Received-Bytes: 1767
 by: Scott Lurndal - Wed, 13 Apr 2022 14:45 UTC

Thomas Koenig <tkoenig@netcologne.de> writes:
>Gary R. Schmidt <grschmidt@acm.org> schrieb:
>> On 13/04/2022 09:03, Christian Weisgerber wrote:
>>> On 2022-04-12, Ted Nolan <tednolan> <ted@loft.tnolan.com> wrote:
>>>
>>>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim nonsense
>>>> I have to use on Linux.
>>>
>>> That's actually nvi and not "real vi".
>>>
>>> Original vi, updated to build on modern systems, is available on
>>> FreeBSD as a port/package. Look for "2bsd-vi".
>>>
>>> Anyway, as everybody knows, the standard Unix editor is ed(1).
>>>
>> No, it's "cat - > abc" :-)
> ^^^
>
>What's that minus sign doing there?

A context sensitive token that means "stdin" in this case.

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<slrnt5dpn2.20l.naddy@lorvorc.mips.inka.de>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71824&group=rec.arts.sf.written#71824

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!inka.de!mips.inka.de!.POSTED.localhost!not-for-mail
From: nad...@mips.inka.de (Christian Weisgerber)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P.
J. Plauger
Date: Wed, 13 Apr 2022 15:06:10 -0000 (UTC)
Message-ID: <slrnt5dpn2.20l.naddy@lorvorc.mips.inka.de>
References: <t2hc3a$dfm$2@reader2.panix.com> <t32qv2$e43$1@dont-email.me>
<jbk9b5Feoi9U1@mid.individual.net>
<slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>
<jbmsa1Fu353U2@mid.individual.net>
Injection-Date: Wed, 13 Apr 2022 15:06:10 -0000 (UTC)
Injection-Info: lorvorc.mips.inka.de; posting-host="localhost:::1";
logging-data="2070"; mail-complaints-to="usenet@mips.inka.de"
User-Agent: slrn/1.0.3 (FreeBSD)
 by: Christian Weisgerber - Wed, 13 Apr 2022 15:06 UTC

On 2022-04-13, Ted Nolan <tednolan> <ted@loft.tnolan.com> wrote:

>>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim
>>nonsense
>>> I have to use on Linux.
>>
>>That's actually nvi and not "real vi".
>
> It's close:
>
> nex/nvi are intended as bug-for-bug compatible
> replacements for the original Fourth Berkeley Software Distribution
> (4BSD) ex and vi programs.

It also has numerous extensions.

* The one that is going to hit many people hard is that original
vi does not support cursor movement in insert mode.
(Various historical terminals, such as the Wyse 30 family, did
not distinguish between cursor-left and rubout. Both keys produce
^H.)
* nvi's multi-level undo is not in vi.
* nvi supports multiple editing windows, although I suspect most
nvi users aren't even aware of this.
Etc.

>>Anyway, as everybody knows, the standard Unix editor is ed(1).
>
> Yep. I still write ed scripts several times a year.

I occasionally use ed(1) interactively in restricted environments.
The prototypical example is when you have screwed up your /etc/fstab
and /usr doesn't get mounted. A more specialized use is on the
OpenBSD install media. The OpenBSD installer is a ksh script, and
I have had reason to tweak/debug it in the install environment,
where ed(1) is the only editor available. Anyway, if you know the
basics of sed(1), then simple edits with ed(1) are straightforward.

--
Christian "naddy" Weisgerber naddy@mips.inka.de

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<l5td5h5pqh91jhsshkcdi43n73l64gfvms@4ax.com>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71825&group=rec.arts.sf.written#71825

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: psper...@old.netcom.invalid (Paul S Person)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger
Date: Wed, 13 Apr 2022 09:10:55 -0700
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <l5td5h5pqh91jhsshkcdi43n73l64gfvms@4ax.com>
References: <t2hc3a$dfm$2@reader2.panix.com> <b074b707-b2ee-43f2-b076-1f05fd3961can@googlegroups.com> <jb2vmaF4r46U1@mid.individual.net> <fb4b0375-2054-41fe-863b-e64f7ccaaaf4n@googlegroups.com> <im8vhi-su5.ln1@paranoia.mcleod-schmidt.id.au> <29c28f14-1912-4e7c-a9be-47cff6b80bacn@googlegroups.com> <t31mnu$8s1$2@newsreader4.netcologne.de> <c165c387-ca5e-47f4-b585-0cbc021f296fn@googlegroups.com> <t34pg6$vau$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="a4eed993fa41338a38f2ca4482f3f775";
logging-data="26477"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+T4MoI89GM7A74P3ADDgJW1WAvLwWUAGo="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:XKwmK1wPxyRJrL+f7j8wYzSNras=
 by: Paul S Person - Wed, 13 Apr 2022 16:10 UTC

On Tue, 12 Apr 2022 16:04:06 -0500, "Michael F. Stemper"
<michael.stemper@gmail.com> wrote:

>On 11/04/2022 18.33, Default User wrote:
>> On Monday, April 11, 2022 at 11:58:41 AM UTC-5, Thomas Koenig wrote:
>>
>>> At least, with clang-format, it is now possible to properly
>>> re-indent code.
>>
>> Tools have definitely improved over the years. One of the reasons I liked Whitesmiths and disliked K&R when I was starting was that I would print out source and use a ruler to draw lines down the code blocks to look for missing, extra, or misaligned braces.
>
>Yeah, K&R-style indentation is horrible human-factors engineering.

Strange.

I have no problem connecting the "}" to the "if" in this sort of
thing:
if( <whatever> ) {
<do something, perhaps a couple pages of something>
}

I just put the cursor on the "}" and ... move upward.

And ruled lines (from "if" to "}") would work just as well.

Of course, this requires a text editor that keeps the cursor position
across blank lines. Notepad (and Agent, which is why my example isn't
more complicated) won't do this with blank lines inside the block.
--
"I begin to envy Petronius."
"I have envied him long since."

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<t372nk$t42$2@newsreader4.netcologne.de>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71831&group=rec.arts.sf.written#71831

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!news.freedyn.de!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd6-3c49-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de!not-for-mail
From: tkoe...@netcologne.de (Thomas Koenig)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P.
J. Plauger
Date: Wed, 13 Apr 2022 17:53:56 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <t372nk$t42$2@newsreader4.netcologne.de>
References: <t2hc3a$dfm$2@reader2.panix.com>
<ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com>
<t32jsj$gkr$1@reader1.panix.com> <t32qv2$e43$1@dont-email.me>
<jbk9b5Feoi9U1@mid.individual.net>
<slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>
<4gthii-cbl.ln1@paranoia.mcleod-schmidt.id.au>
<t35p2e$246$1@newsreader4.netcologne.de> <t36i2k$pj1$2@dont-email.me>
Injection-Date: Wed, 13 Apr 2022 17:53:56 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd6-3c49-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2001:4dd6:3c49:0:7285:c2ff:fe6c:992d";
logging-data="29826"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Wed, 13 Apr 2022 17:53 UTC

Michael F. Stemper <michael.stemper@gmail.com> schrieb:
> On 13/04/2022 01.02, Thomas Koenig wrote:
>> Gary R. Schmidt <grschmidt@acm.org> schrieb:
>>> On 13/04/2022 09:03, Christian Weisgerber wrote:
>>>> On 2022-04-12, Ted Nolan <tednolan> <ted@loft.tnolan.com> wrote:
>>>>
>>>>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim nonsense
>>>>> I have to use on Linux.
>>>>
>>>> That's actually nvi and not "real vi".
>>>>
>>>> Original vi, updated to build on modern systems, is available on
>>>> FreeBSD as a port/package. Look for "2bsd-vi".
>>>>
>>>> Anyway, as everybody knows, the standard Unix editor is ed(1).
>>>>
>>> No, it's "cat - > abc" :-)
>>
>> What's that minus sign doing there?
>
> If you're not being facetious, here's a line from the man page:
>
> With no FILE, or when FILE is -, read standard input.

So, why specify it at all? It's not the UNIX way (and "cat
coming back from Berkeley waving flags" was one of the things that
Kernighan complained about, IIRC).

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<t373bh$eld$3@dont-email.me>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71839&group=rec.arts.sf.written#71839

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: lynnmcgu...@gmail.com (Lynn McGuire)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.
Plauger
Date: Wed, 13 Apr 2022 13:04:33 -0500
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <t373bh$eld$3@dont-email.me>
References: <t2hc3a$dfm$2@reader2.panix.com>
<c165c387-ca5e-47f4-b585-0cbc021f296fn@googlegroups.com>
<u035K.52307$rWve.2190@fx01.iad>
<ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com>
<t32jsj$gkr$1@reader1.panix.com>
<bm6fii-0jd.ln1@paranoia.mcleod-schmidt.id.au> <t34pjr$vau$3@dont-email.me>
<authii-9dn.ln1@paranoia.mcleod-schmidt.id.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 13 Apr 2022 18:04:34 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="58e36cee774d90024e95dd135e7d0051";
logging-data="15021"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+EV+T/AbXrcjK5CPD0qNL3"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.0
Cancel-Lock: sha1:WbPZO9xrPokj4BEDC9yK270bLmQ=
In-Reply-To: <authii-9dn.ln1@paranoia.mcleod-schmidt.id.au>
Content-Language: en-US
 by: Lynn McGuire - Wed, 13 Apr 2022 18:04 UTC

On 4/12/2022 10:51 PM, Gary R. Schmidt wrote:
> On 13/04/2022 07:06, Michael F. Stemper wrote:
>> On 11/04/2022 22.02, Gary R. Schmidt wrote:
>>> On 12/04/2022 11:16, James Nicoll wrote:
>>
>>>> I still use vi...
>>>
>>> Some of my UNIX systems only have vi, but that's because
>>> $(CORPORATION)/$(BANK)/$(GOVERNMENT_DEPARTMENT) spent so very, very,
>>> very much with IBM or HP or Sun that they intend to run those
>>> machines until there is only rust left on the Data Centre floor.
>>> (Not that they don't do the same with Linux or Winderrs, I have to
>>> keep RHEL5 and W2K3 boxes alive (and off the network) just for them.
>>> At least I got rid of the Solaris 2.5 (yes, 2.5, not 2.5.1) boxes in
>>> 2015.)
>>>
>>> Although recent Solaris versions have vim as a replacement for vi:
>>> $ ll /bin/vi
>>>     1 lrwxrwxrwx   1 root     root           3 Jul 14  2019 /bin/vi
>>> -> vim*
>>>
>>> Anything that doesn't have vi/vim on it that will be around for more
>>> than five minutes gets vim installed quick smart!  (And Cygwin if
>>> it's Winderrs.)
>>
>> I even used vi on DOS.
>>
> It was part of a UNIX toolkit that I remember getting back then - can't
> remember the name now, but it had a real tar that would access floppies
> correctly, and awk and sed and pack and ed and a proper sh and all the
> goodies.
>
> And being 16-bit, it was very like being on Version 7 on a PDP-11!!  :-)
>
>     Cheers,
>         Gary    B-)

Probably The Thompson Toolkit which was written in 16 assembly for
speed. And then ported to 32 bit assembly, for speed. I still use it
on Windows. It is about a 100 times faster than cygwin.
http://www.tasoft.com/

Lynn

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<VUE5K.838938$aT3.237661@fx09.iad>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71841&group=rec.arts.sf.written#71841

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx09.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger
Newsgroups: rec.arts.sf.written
Distribution: world
References: <t2hc3a$dfm$2@reader2.panix.com> <ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com> <t32jsj$gkr$1@reader1.panix.com> <t32qv2$e43$1@dont-email.me> <jbk9b5Feoi9U1@mid.individual.net> <slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de> <4gthii-cbl.ln1@paranoia.mcleod-schmidt.id.au> <t35p2e$246$1@newsreader4.netcologne.de> <t36i2k$pj1$2@dont-email.me> <t372nk$t42$2@newsreader4.netcologne.de>
Lines: 65
Message-ID: <VUE5K.838938$aT3.237661@fx09.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Wed, 13 Apr 2022 18:47:17 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Wed, 13 Apr 2022 18:47:17 GMT
X-Received-Bytes: 3020
X-Original-Bytes: 2969
 by: Scott Lurndal - Wed, 13 Apr 2022 18:47 UTC

Thomas Koenig <tkoenig@netcologne.de> writes:
>Michael F. Stemper <michael.stemper@gmail.com> schrieb:
>> On 13/04/2022 01.02, Thomas Koenig wrote:
>>> Gary R. Schmidt <grschmidt@acm.org> schrieb:
>>>> On 13/04/2022 09:03, Christian Weisgerber wrote:
>>>>> On 2022-04-12, Ted Nolan <tednolan> <ted@loft.tnolan.com> wrote:
>>>>>
>>>>>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim nonsense
>>>>>> I have to use on Linux.
>>>>>
>>>>> That's actually nvi and not "real vi".
>>>>>
>>>>> Original vi, updated to build on modern systems, is available on
>>>>> FreeBSD as a port/package. Look for "2bsd-vi".
>>>>>
>>>>> Anyway, as everybody knows, the standard Unix editor is ed(1).
>>>>>
>>>> No, it's "cat - > abc" :-)
>>>
>>> What's that minus sign doing there?
>>
>> If you're not being facetious, here's a line from the man page:
>>
>> With no FILE, or when FILE is -, read standard input.
>
>So, why specify it at all? It's not the UNIX way (and "cat
>coming back from Berkeley waving flags" was one of the things that
>Kernighan complained about, IIRC).

The use of '-' to indicate stdin has been part of the Unix command
syntax for as long as I can remember. It's standardized by the
Open Group/POSIX as part of the utility guidelines.

As far back as Unix V7, the 'cat' command accepted option flags.

/*
* Concatenate files.
*/

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>

char stdbuf[BUFSIZ];

main(argc, argv)
char **argv;
{ int fflg = 0;
register FILE *fi;
register c;
int dev, ino = -1;
struct stat statb;

setbuf(stdout, stdbuf);
for( ; argc>1 && argv[1][0]=='-'; argc--,argv++) {
switch(argv[1][1]) {
case 0:
break;
case 'u':
setbuf(stdout, (char *)NULL);
continue;
}
break;
}

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<2emkii-5j9.ln1@paranoia.mcleod-schmidt.id.au>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71870&group=rec.arts.sf.written#71870

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!npeer.as286.net!npeer-ng0.as286.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: grschm...@acm.org (Gary R. Schmidt)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.
Plauger
Date: Thu, 14 Apr 2022 15:01:42 +1000
Lines: 38
Message-ID: <2emkii-5j9.ln1@paranoia.mcleod-schmidt.id.au>
References: <t2hc3a$dfm$2@reader2.panix.com>
<ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com>
<t32jsj$gkr$1@reader1.panix.com> <t32qv2$e43$1@dont-email.me>
<jbk9b5Feoi9U1@mid.individual.net>
<slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>
<4gthii-cbl.ln1@paranoia.mcleod-schmidt.id.au>
<t35p2e$246$1@newsreader4.netcologne.de> <t36i2k$pj1$2@dont-email.me>
<t372nk$t42$2@newsreader4.netcologne.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 815vXBlEE49NK48+KhiUXghX1D/Rjno4qNslqOTZmzEWeXi3g=
X-Orig-Path: paranoia.mcleod-schmidt.id.au!not-for-mail
Cancel-Lock: sha1:60DWi6+nHxMApPHkn/iypkZR5cw=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Betterbird/91.8.0
Content-Language: en-AU
In-Reply-To: <t372nk$t42$2@newsreader4.netcologne.de>
X-Clacks-Overhead: GNU Terry Pratchett
 by: Gary R. Schmidt - Thu, 14 Apr 2022 05:01 UTC

On 14/04/2022 03:53, Thomas Koenig wrote:
> Michael F. Stemper <michael.stemper@gmail.com> schrieb:
>> On 13/04/2022 01.02, Thomas Koenig wrote:
>>> Gary R. Schmidt <grschmidt@acm.org> schrieb:
>>>> On 13/04/2022 09:03, Christian Weisgerber wrote:
>>>>> On 2022-04-12, Ted Nolan <tednolan> <ted@loft.tnolan.com> wrote:
>>>>>
>>>>>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim nonsense
>>>>>> I have to use on Linux.
>>>>>
>>>>> That's actually nvi and not "real vi".
>>>>>
>>>>> Original vi, updated to build on modern systems, is available on
>>>>> FreeBSD as a port/package. Look for "2bsd-vi".
>>>>>
>>>>> Anyway, as everybody knows, the standard Unix editor is ed(1).
>>>>>
>>>> No, it's "cat - > abc" :-)
>>>
>>> What's that minus sign doing there?
>>
>> If you're not being facetious, here's a line from the man page:
>>
>> With no FILE, or when FILE is -, read standard input.
>
> So, why specify it at all? It's not the UNIX way (and "cat
> coming back from Berkeley waving flags" was one of the things that
> Kernighan complained about, IIRC).

Because I like my code to be self-documenting, and there're far too many
newbies who don't know that "cat" with no parameters reads from stdin -
I was at a Linux installfest-thingie a decade or two ago, and one of the
/instructors/ asked me, "How do I get out of 'cat' when I've hit <CR>
before I typed the file name".

Cheers,
Gary B-)

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<itmkii-rcb.ln1@paranoia.mcleod-schmidt.id.au>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71871&group=rec.arts.sf.written#71871

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: grschm...@acm.org (Gary R. Schmidt)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.
Plauger
Date: Thu, 14 Apr 2022 15:09:58 +1000
Lines: 52
Message-ID: <itmkii-rcb.ln1@paranoia.mcleod-schmidt.id.au>
References: <t2hc3a$dfm$2@reader2.panix.com>
<c165c387-ca5e-47f4-b585-0cbc021f296fn@googlegroups.com>
<u035K.52307$rWve.2190@fx01.iad>
<ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com>
<t32jsj$gkr$1@reader1.panix.com>
<bm6fii-0jd.ln1@paranoia.mcleod-schmidt.id.au> <t34pjr$vau$3@dont-email.me>
<authii-9dn.ln1@paranoia.mcleod-schmidt.id.au> <t373bh$eld$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net q7GSuHEUE9FtrkOMRC8gZgZU5EjwilTuJWd2Z7KCLwp3MWpT0=
X-Orig-Path: paranoia.mcleod-schmidt.id.au!not-for-mail
Cancel-Lock: sha1:8mGQntWBbQupmsWETb+OqgLpYfY=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Betterbird/91.8.0
Content-Language: en-AU
In-Reply-To: <t373bh$eld$3@dont-email.me>
X-Clacks-Overhead: GNU Terry Pratchett
 by: Gary R. Schmidt - Thu, 14 Apr 2022 05:09 UTC

On 14/04/2022 04:04, Lynn McGuire wrote:
> On 4/12/2022 10:51 PM, Gary R. Schmidt wrote:
>> On 13/04/2022 07:06, Michael F. Stemper wrote:
>>> On 11/04/2022 22.02, Gary R. Schmidt wrote:
>>>> On 12/04/2022 11:16, James Nicoll wrote:
>>>
>>>>> I still use vi...
>>>>
>>>> Some of my UNIX systems only have vi, but that's because
>>>> $(CORPORATION)/$(BANK)/$(GOVERNMENT_DEPARTMENT) spent so very, very,
>>>> very much with IBM or HP or Sun that they intend to run those
>>>> machines until there is only rust left on the Data Centre floor.
>>>> (Not that they don't do the same with Linux or Winderrs, I have to
>>>> keep RHEL5 and W2K3 boxes alive (and off the network) just for them.
>>>> At least I got rid of the Solaris 2.5 (yes, 2.5, not 2.5.1) boxes in
>>>> 2015.)
>>>>
>>>> Although recent Solaris versions have vim as a replacement for vi:
>>>> $ ll /bin/vi
>>>>     1 lrwxrwxrwx   1 root     root           3 Jul 14  2019 /bin/vi
>>>> -> vim*
>>>>
>>>> Anything that doesn't have vi/vim on it that will be around for more
>>>> than five minutes gets vim installed quick smart!  (And Cygwin if
>>>> it's Winderrs.)
>>>
>>> I even used vi on DOS.
>>>
>> It was part of a UNIX toolkit that I remember getting back then -
>> can't remember the name now, but it had a real tar that would access
>> floppies correctly, and awk and sed and pack and ed and a proper sh
>> and all the goodies.
>>
>> And being 16-bit, it was very like being on Version 7 on a PDP-11!!  :-)
>>
>>      Cheers,
>>          Gary    B-)
>
> Probably The Thompson Toolkit which was written in 16 assembly for
> speed.  And then ported to 32 bit assembly, for speed.  I still use it
> on Windows.  It is about a 100 times faster than cygwin.
>    http://www.tasoft.com/
>
Might be, but I'd have to dig out a copy of the "C User's Journal" or
the like from the boxes of journals - and I don't, off the top of my
head, recall if I kept them.
Probably went with all the CACM and SIGSOFT and the like when I moved at
the end of last century. (But I *did* keep my copy of CALGO with the
microfiche sheets, I wonder who's got a reader these days?? ;-) )

Cheers,
Gary B-)

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<o0nkii-rcb.ln1@paranoia.mcleod-schmidt.id.au>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71872&group=rec.arts.sf.written#71872

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: grschm...@acm.org (Gary R. Schmidt)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.
Plauger
Date: Thu, 14 Apr 2022 15:11:40 +1000
Lines: 34
Message-ID: <o0nkii-rcb.ln1@paranoia.mcleod-schmidt.id.au>
References: <t2hc3a$dfm$2@reader2.panix.com>
<ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com>
<t32jsj$gkr$1@reader1.panix.com> <t32qv2$e43$1@dont-email.me>
<jbk9b5Feoi9U1@mid.individual.net>
<slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>
<4gthii-cbl.ln1@paranoia.mcleod-schmidt.id.au>
<t35p2e$246$1@newsreader4.netcologne.de> <t36i2k$pj1$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net P1krvc0VB6gNULJaDM+SqACoYovJW7cn6VErwSX8m1EiUBCsg=
X-Orig-Path: paranoia.mcleod-schmidt.id.au!not-for-mail
Cancel-Lock: sha1:IcTjfubOSa3j0Q5MGJEF5FElTLA=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Betterbird/91.8.0
Content-Language: en-AU
In-Reply-To: <t36i2k$pj1$2@dont-email.me>
X-Clacks-Overhead: GNU Terry Pratchett
 by: Gary R. Schmidt - Thu, 14 Apr 2022 05:11 UTC

On 13/04/2022 23:09, Michael F. Stemper wrote:
> On 13/04/2022 01.02, Thomas Koenig wrote:
>> Gary R. Schmidt <grschmidt@acm.org> schrieb:
>>> On 13/04/2022 09:03, Christian Weisgerber wrote:
>>>> On 2022-04-12, Ted Nolan <tednolan> <ted@loft.tnolan.com> wrote:
>>>>
>>>>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this
>>>>> vim nonsense
>>>>> I have to use on Linux.
>>>>
>>>> That's actually nvi and not "real vi".
>>>>
>>>> Original vi, updated to build on modern systems, is available on
>>>> FreeBSD as a port/package.  Look for "2bsd-vi".
>>>>
>>>> Anyway, as everybody knows, the standard Unix editor is ed(1).
>>>>
>>> No, it's "cat - > abc"  :-)
>>
>> What's that minus sign doing there?
>
> If you're not being facetious, here's a line from the man page:
>
>    With no FILE, or when FILE is -, read standard input.
>
> I don't see the point, but that's how it is.
>
Some people fail to see the humour inherent in the question posed in
response to my post. Sigh.

Cheers,
Gary B-)

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<t38u78$47c$1@newsreader4.netcologne.de>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71874&group=rec.arts.sf.written#71874

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!.POSTED.2001-4dd6-3c49-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de!not-for-mail
From: tkoe...@netcologne.de (Thomas Koenig)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P.
J. Plauger
Date: Thu, 14 Apr 2022 10:49:12 -0000 (UTC)
Organization: news.netcologne.de
Distribution: world
Message-ID: <t38u78$47c$1@newsreader4.netcologne.de>
References: <t2hc3a$dfm$2@reader2.panix.com>
<ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com>
<t32jsj$gkr$1@reader1.panix.com> <t32qv2$e43$1@dont-email.me>
<jbk9b5Feoi9U1@mid.individual.net>
<slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>
<4gthii-cbl.ln1@paranoia.mcleod-schmidt.id.au>
<t35p2e$246$1@newsreader4.netcologne.de> <t36i2k$pj1$2@dont-email.me>
<t372nk$t42$2@newsreader4.netcologne.de>
<2emkii-5j9.ln1@paranoia.mcleod-schmidt.id.au>
Injection-Date: Thu, 14 Apr 2022 10:49:12 -0000 (UTC)
Injection-Info: newsreader4.netcologne.de; posting-host="2001-4dd6-3c49-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de:2001:4dd6:3c49:0:7285:c2ff:fe6c:992d";
logging-data="4332"; mail-complaints-to="abuse@netcologne.de"
User-Agent: slrn/1.0.3 (Linux)
 by: Thomas Koenig - Thu, 14 Apr 2022 10:49 UTC

Gary R. Schmidt <grschmidt@acm.org> schrieb:
> On 14/04/2022 03:53, Thomas Koenig wrote:
>> Michael F. Stemper <michael.stemper@gmail.com> schrieb:
>>> On 13/04/2022 01.02, Thomas Koenig wrote:
>>>> Gary R. Schmidt <grschmidt@acm.org> schrieb:
>>>>> On 13/04/2022 09:03, Christian Weisgerber wrote:
>>>>>> On 2022-04-12, Ted Nolan <tednolan> <ted@loft.tnolan.com> wrote:
>>>>>>
>>>>>>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim nonsense
>>>>>>> I have to use on Linux.
>>>>>>
>>>>>> That's actually nvi and not "real vi".
>>>>>>
>>>>>> Original vi, updated to build on modern systems, is available on
>>>>>> FreeBSD as a port/package. Look for "2bsd-vi".
>>>>>>
>>>>>> Anyway, as everybody knows, the standard Unix editor is ed(1).
>>>>>>
>>>>> No, it's "cat - > abc" :-)
>>>>
>>>> What's that minus sign doing there?
>>>
>>> If you're not being facetious, here's a line from the man page:
>>>
>>> With no FILE, or when FILE is -, read standard input.
>>
>> So, why specify it at all? It's not the UNIX way (and "cat
>> coming back from Berkeley waving flags" was one of the things that
>> Kernighan complained about, IIRC).
>
>
> Because I like my code to be self-documenting, and there're far too many
> newbies who don't know that "cat" with no parameters reads from stdin -

Isn't there a competition somewhere about the most useless uses of cat?

Something like

cat foo.txt bar.txt | grep pattern

can easily be extended to

cat foo.txt bar.txt | cat | cat | grep pattern

> I was at a Linux installfest-thingie a decade or two ago, and one of the
> /instructors/ asked me, "How do I get out of 'cat' when I've hit <CR>
> before I typed the file name".

"Control-C" should be the first thing people learn about the UNIX
command line.

It works, unless you have no idea what vi is when you try to invoke
the Fortran compiler with "fc". Happened to me in my first-ever
UNIX session, after I had created a hello.f program, using cat
(of course).

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<t39647$h1b$1@dont-email.me>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71878&group=rec.arts.sf.written#71878

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: michael....@gmail.com (Michael F. Stemper)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.
Plauger
Date: Thu, 14 Apr 2022 08:04:07 -0500
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <t39647$h1b$1@dont-email.me>
References: <t2hc3a$dfm$2@reader2.panix.com>
<ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com>
<t32jsj$gkr$1@reader1.panix.com> <t32qv2$e43$1@dont-email.me>
<jbk9b5Feoi9U1@mid.individual.net>
<slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>
<4gthii-cbl.ln1@paranoia.mcleod-schmidt.id.au>
<t35p2e$246$1@newsreader4.netcologne.de> <t36i2k$pj1$2@dont-email.me>
<t372nk$t42$2@newsreader4.netcologne.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 14 Apr 2022 13:04:07 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="65a5ddd39cf4251921da6755fd6dde95";
logging-data="17451"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/MAR6GYauyrTIlqG/jU3NzDQCrrPEiVbc="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
Cancel-Lock: sha1:a5pC4jP8Jlx4kCA/YnLHg91ux6I=
In-Reply-To: <t372nk$t42$2@newsreader4.netcologne.de>
Content-Language: en-US
 by: Michael F. Stemper - Thu, 14 Apr 2022 13:04 UTC

On 13/04/2022 12.53, Thomas Koenig wrote:
> Michael F. Stemper <michael.stemper@gmail.com> schrieb:
>> On 13/04/2022 01.02, Thomas Koenig wrote:
>>> Gary R. Schmidt <grschmidt@acm.org> schrieb:
>>>> On 13/04/2022 09:03, Christian Weisgerber wrote:

>>>>> Anyway, as everybody knows, the standard Unix editor is ed(1).
>>>>>
>>>> No, it's "cat - > abc" :-)
>>>
>>> What's that minus sign doing there?
>>
>> If you're not being facetious, here's a line from the man page:
>>
>> With no FILE, or when FILE is -, read standard input.
>
> So, why specify it at all?

Like I said, "I don't see the point [...]"

--
Michael F. Stemper
Economists have correctly predicted seven of the last three recessions.

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<m5olii-u09.ln1@paranoia.mcleod-schmidt.id.au>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71884&group=rec.arts.sf.written#71884

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.szaf.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: grschm...@acm.org (Gary R. Schmidt)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J.
Plauger
Date: Fri, 15 Apr 2022 00:37:31 +1000
Lines: 49
Message-ID: <m5olii-u09.ln1@paranoia.mcleod-schmidt.id.au>
References: <t2hc3a$dfm$2@reader2.panix.com>
<ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com>
<t32jsj$gkr$1@reader1.panix.com> <t32qv2$e43$1@dont-email.me>
<jbk9b5Feoi9U1@mid.individual.net>
<slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>
<4gthii-cbl.ln1@paranoia.mcleod-schmidt.id.au>
<t35p2e$246$1@newsreader4.netcologne.de> <t36i2k$pj1$2@dont-email.me>
<t372nk$t42$2@newsreader4.netcologne.de>
<2emkii-5j9.ln1@paranoia.mcleod-schmidt.id.au>
<t38u78$47c$1@newsreader4.netcologne.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 4qEL3fwEAoFbJKE8M1Yg9QRQp5qLCP9OOnejOIY2Bl5JZOL/4=
X-Orig-Path: paranoia.mcleod-schmidt.id.au!not-for-mail
Cancel-Lock: sha1:qPzsd4ocbG5dv/y+amNH40YQTdA=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Betterbird/91.8.0
Content-Language: en-AU
In-Reply-To: <t38u78$47c$1@newsreader4.netcologne.de>
X-Clacks-Overhead: GNU Terry Pratchett
 by: Gary R. Schmidt - Thu, 14 Apr 2022 14:37 UTC

On 14/04/2022 20:49, Thomas Koenig wrote:
> Gary R. Schmidt <grschmidt@acm.org> schrieb:
>> On 14/04/2022 03:53, Thomas Koenig wrote:
>>> Michael F. Stemper <michael.stemper@gmail.com> schrieb:
>>>> On 13/04/2022 01.02, Thomas Koenig wrote:
>>>>> Gary R. Schmidt <grschmidt@acm.org> schrieb:
>>>>>> On 13/04/2022 09:03, Christian Weisgerber wrote:
>>>>>>> On 2022-04-12, Ted Nolan <tednolan> <ted@loft.tnolan.com> wrote:
>>>>>>>
>>>>>>>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim nonsense
>>>>>>>> I have to use on Linux.
>>>>>>>
>>>>>>> That's actually nvi and not "real vi".
>>>>>>>
>>>>>>> Original vi, updated to build on modern systems, is available on
>>>>>>> FreeBSD as a port/package. Look for "2bsd-vi".
>>>>>>>
>>>>>>> Anyway, as everybody knows, the standard Unix editor is ed(1).
>>>>>>>
>>>>>> No, it's "cat - > abc" :-)
>>>>>
>>>>> What's that minus sign doing there?
>>>>
>>>> If you're not being facetious, here's a line from the man page:
>>>>
>>>> With no FILE, or when FILE is -, read standard input.
>>>
>>> So, why specify it at all? It's not the UNIX way (and "cat
>>> coming back from Berkeley waving flags" was one of the things that
>>> Kernighan complained about, IIRC).
>>
>>
>> Because I like my code to be self-documenting, and there're far too many
>> newbies who don't know that "cat" with no parameters reads from stdin -
>
> Isn't there a competition somewhere about the most useless uses of cat?
>
> Something like
>
> cat foo.txt bar.txt | grep pattern
>
> can easily be extended to
>
> cat foo.txt bar.txt | cat | cat | grep pattern
>
I've always been particularly amused by "cat < x | xyz".

Cheers,
Gary B-)

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<157cfa03-156c-4145-a5df-551bb5d1bd1cn@googlegroups.com>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71885&group=rec.arts.sf.written#71885

  copy link   Newsgroups: rec.arts.sf.written
X-Received: by 2002:a05:6214:1643:b0:42c:2865:d1e7 with SMTP id f3-20020a056214164300b0042c2865d1e7mr3753416qvw.52.1649948354536;
Thu, 14 Apr 2022 07:59:14 -0700 (PDT)
X-Received: by 2002:a81:6d94:0:b0:2ef:5430:977 with SMTP id
i142-20020a816d94000000b002ef54300977mr2213060ywc.227.1649948354338; Thu, 14
Apr 2022 07:59:14 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: rec.arts.sf.written
Date: Thu, 14 Apr 2022 07:59:14 -0700 (PDT)
In-Reply-To: <t372nk$t42$2@newsreader4.netcologne.de>
Injection-Info: google-groups.googlegroups.com; posting-host=188.30.49.34; posting-account=dELd-gkAAABehNzDMBP4sfQElk2tFztP
NNTP-Posting-Host: 188.30.49.34
References: <t2hc3a$dfm$2@reader2.panix.com> <ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com>
<t32jsj$gkr$1@reader1.panix.com> <t32qv2$e43$1@dont-email.me>
<jbk9b5Feoi9U1@mid.individual.net> <slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de>
<4gthii-cbl.ln1@paranoia.mcleod-schmidt.id.au> <t35p2e$246$1@newsreader4.netcologne.de>
<t36i2k$pj1$2@dont-email.me> <t372nk$t42$2@newsreader4.netcologne.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <157cfa03-156c-4145-a5df-551bb5d1bd1cn@googlegroups.com>
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger
From: rja.carn...@excite.com (Robert Carnegie)
Injection-Date: Thu, 14 Apr 2022 14:59:14 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 35
 by: Robert Carnegie - Thu, 14 Apr 2022 14:59 UTC

On Wednesday, 13 April 2022 at 18:54:01 UTC+1, Thomas Koenig wrote:
> Michael F. Stemper <michael...@gmail.com> schrieb:
> > On 13/04/2022 01.02, Thomas Koenig wrote:
> >> Gary R. Schmidt <grsc...@acm.org> schrieb:
> >>> On 13/04/2022 09:03, Christian Weisgerber wrote:
> >>>> On 2022-04-12, Ted Nolan <tednolan> <t...@loft.tnolan.com> wrote:
> >>>>
> >>>>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim nonsense
> >>>>> I have to use on Linux.
> >>>>
> >>>> That's actually nvi and not "real vi".
> >>>>
> >>>> Original vi, updated to build on modern systems, is available on
> >>>> FreeBSD as a port/package. Look for "2bsd-vi".
> >>>>
> >>>> Anyway, as everybody knows, the standard Unix editor is ed(1).
> >>>>
> >>> No, it's "cat - > abc" :-)
> >>
> >> What's that minus sign doing there?
> >
> > If you're not being facetious, here's a line from the man page:
> >
> > With no FILE, or when FILE is -, read standard input.
> So, why specify it at all? It's not the UNIX way (and "cat
> coming back from Berkeley waving flags" was one of the things that
> Kernighan complained about, IIRC).

I have very limited UNIX and Linux knowledge,
but, if you can't set parameter one as \- instead
of no parameter, then how do you indicate that
parameter two is not parameter one? Or, if a
wrapper program expects you to set required
parameters and then say "go", setting - indicates
that "I didn't forget to set this parameter", which
!would be inferred from leaving it blank.

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<fEX5K.602918$LN2.348184@fx13.iad>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71889&group=rec.arts.sf.written#71889

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!peer02.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx13.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger
Newsgroups: rec.arts.sf.written
References: <t2hc3a$dfm$2@reader2.panix.com> <t32jsj$gkr$1@reader1.panix.com> <t32qv2$e43$1@dont-email.me> <jbk9b5Feoi9U1@mid.individual.net> <slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de> <4gthii-cbl.ln1@paranoia.mcleod-schmidt.id.au> <t35p2e$246$1@newsreader4.netcologne.de> <t36i2k$pj1$2@dont-email.me> <t372nk$t42$2@newsreader4.netcologne.de> <2emkii-5j9.ln1@paranoia.mcleod-schmidt.id.au> <t38u78$47c$1@newsreader4.netcologne.de> <m5olii-u09.ln1@paranoia.mcleod-schmidt.id.au>
Lines: 60
Message-ID: <fEX5K.602918$LN2.348184@fx13.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Thu, 14 Apr 2022 16:06:35 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Thu, 14 Apr 2022 16:06:35 GMT
X-Received-Bytes: 3311
 by: Scott Lurndal - Thu, 14 Apr 2022 16:06 UTC

"Gary R. Schmidt" <grschmidt@acm.org> writes:
> Betterbird/91.8.0

>
>On 14/04/2022 20:49, Thomas Koenig wrote:
>> Gary R. Schmidt <grschmidt@acm.org> schrieb:
>>> On 14/04/2022 03:53, Thomas Koenig wrote:
>>>> Michael F. Stemper <michael.stemper@gmail.com> schrieb:
>>>>> On 13/04/2022 01.02, Thomas Koenig wrote:
>>>>>> Gary R. Schmidt <grschmidt@acm.org> schrieb:
>>>>>>> On 13/04/2022 09:03, Christian Weisgerber wrote:
>>>>>>>> On 2022-04-12, Ted Nolan <tednolan> <ted@loft.tnolan.com> wrote:
>>>>>>>>
>>>>>>>>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim nonsense
>>>>>>>>> I have to use on Linux.
>>>>>>>>
>>>>>>>> That's actually nvi and not "real vi".
>>>>>>>>
>>>>>>>> Original vi, updated to build on modern systems, is available on
>>>>>>>> FreeBSD as a port/package. Look for "2bsd-vi".
>>>>>>>>
>>>>>>>> Anyway, as everybody knows, the standard Unix editor is ed(1).
>>>>>>>>
>>>>>>> No, it's "cat - > abc" :-)
>>>>>>
>>>>>> What's that minus sign doing there?
>>>>>
>>>>> If you're not being facetious, here's a line from the man page:
>>>>>
>>>>> With no FILE, or when FILE is -, read standard input.
>>>>
>>>> So, why specify it at all? It's not the UNIX way (and "cat
>>>> coming back from Berkeley waving flags" was one of the things that
>>>> Kernighan complained about, IIRC).
>>>
>>>
>>> Because I like my code to be self-documenting, and there're far too many
>>> newbies who don't know that "cat" with no parameters reads from stdin -
>>
>> Isn't there a competition somewhere about the most useless uses of cat?
>>
>> Something like
>>
>> cat foo.txt bar.txt | grep pattern
>>
>> can easily be extended to
>>
>> cat foo.txt bar.txt | cat | cat | grep pattern
>>
>I've always been particularly amused by "cat < x | xyz".

I can see pipelines like that if you want the shell
to error out quickly if 'x' doesn't exist - no process pipeline
will be created in that case.

I use this frequently:

$ cat /work/music/Rock/all_jazz.m3u | shuf > /work/music/Rock/all_jazz_shuffle.m3u

(all the .m3u (playlist) files are in the Rock directory. So sue me).

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<2ihg5hhdnc5tl1cj1r6u6392nbvsp8s0tt@4ax.com>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71890&group=rec.arts.sf.written#71890

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: psper...@old.netcom.invalid (Paul S Person)
Newsgroups: rec.arts.sf.written
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger
Date: Thu, 14 Apr 2022 09:07:46 -0700
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <2ihg5hhdnc5tl1cj1r6u6392nbvsp8s0tt@4ax.com>
References: <t2hc3a$dfm$2@reader2.panix.com> <ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com> <t32jsj$gkr$1@reader1.panix.com> <t32qv2$e43$1@dont-email.me> <jbk9b5Feoi9U1@mid.individual.net> <slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de> <4gthii-cbl.ln1@paranoia.mcleod-schmidt.id.au> <t35p2e$246$1@newsreader4.netcologne.de> <t36i2k$pj1$2@dont-email.me> <t372nk$t42$2@newsreader4.netcologne.de> <157cfa03-156c-4145-a5df-551bb5d1bd1cn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: reader02.eternal-september.org; posting-host="01b5a0b3059bb397c45c6059116c5966";
logging-data="10231"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+UpDhFC741ezVQvHiA2o/SCjXOrCeisdk="
User-Agent: ForteAgent/8.00.32.1272
Cancel-Lock: sha1:ZAI8CxMzDGREgFtnAVBn+z8SOXU=
 by: Paul S Person - Thu, 14 Apr 2022 16:07 UTC

On Thu, 14 Apr 2022 07:59:14 -0700 (PDT), Robert Carnegie
<rja.carnegie@excite.com> wrote:

>On Wednesday, 13 April 2022 at 18:54:01 UTC+1, Thomas Koenig wrote:
>> Michael F. Stemper <michael...@gmail.com> schrieb:
>> > On 13/04/2022 01.02, Thomas Koenig wrote:
>> >> Gary R. Schmidt <grsc...@acm.org> schrieb:
>> >>> On 13/04/2022 09:03, Christian Weisgerber wrote:
>> >>>> On 2022-04-12, Ted Nolan <tednolan> <t...@loft.tnolan.com> wrote:
>> >>>>
>> >>>>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim nonsense
>> >>>>> I have to use on Linux.
>> >>>>
>> >>>> That's actually nvi and not "real vi".
>> >>>>
>> >>>> Original vi, updated to build on modern systems, is available on
>> >>>> FreeBSD as a port/package. Look for "2bsd-vi".
>> >>>>
>> >>>> Anyway, as everybody knows, the standard Unix editor is ed(1).
>> >>>>
>> >>> No, it's "cat - > abc" :-)
>> >>
>> >> What's that minus sign doing there?
>> >
>> > If you're not being facetious, here's a line from the man page:
>> >
>> > With no FILE, or when FILE is -, read standard input.
>> So, why specify it at all? It's not the UNIX way (and "cat
>> coming back from Berkeley waving flags" was one of the things that
>> Kernighan complained about, IIRC).
>
>I have very limited UNIX and Linux knowledge,
>but, if you can't set parameter one as \- instead
>of no parameter, then how do you indicate that
>parameter two is not parameter one? Or, if a
>wrapper program expects you to set required
>parameters and then say "go", setting - indicates
>that "I didn't forget to set this parameter", which
>!would be inferred from leaving it blank.

Not all parameters are required.

The code parsing the parameters is expected to figure it out.

In this case, it isn't /that/ hard to test for "-" as the first
parameter, note what that means, reset the start of the parameter
list, and move on from there.
--
"I begin to envy Petronius."
"I have envied him long since."

Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger

<eLX5K.602919$LN2.48753@fx13.iad>

  copy mid

https://www.novabbs.com/arts/article-flat.php?id=71891&group=rec.arts.sf.written#71891

  copy link   Newsgroups: rec.arts.sf.written
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!peer02.ams4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx13.iad.POSTED!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@dragon.sl.home (Scott Lurndal)
From: sco...@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Young People Read Old Hugo Finalists: Child of All Ages by P. J. Plauger
Newsgroups: rec.arts.sf.written
References: <t2hc3a$dfm$2@reader2.panix.com> <ad785d30-de66-4269-ac8d-72b9b8bb7932n@googlegroups.com> <t32jsj$gkr$1@reader1.panix.com> <t32qv2$e43$1@dont-email.me> <jbk9b5Feoi9U1@mid.individual.net> <slrnt5c19p.2gfn.naddy@lorvorc.mips.inka.de> <4gthii-cbl.ln1@paranoia.mcleod-schmidt.id.au> <t35p2e$246$1@newsreader4.netcologne.de> <t36i2k$pj1$2@dont-email.me> <t372nk$t42$2@newsreader4.netcologne.de> <157cfa03-156c-4145-a5df-551bb5d1bd1cn@googlegroups.com>
Lines: 65
Message-ID: <eLX5K.602919$LN2.48753@fx13.iad>
X-Complaints-To: abuse@usenetserver.com
NNTP-Posting-Date: Thu, 14 Apr 2022 16:14:02 UTC
Organization: UsenetServer - www.usenetserver.com
Date: Thu, 14 Apr 2022 16:14:02 GMT
X-Received-Bytes: 3661
 by: Scott Lurndal - Thu, 14 Apr 2022 16:14 UTC

Robert Carnegie <rja.carnegie@excite.com> writes:
>On Wednesday, 13 April 2022 at 18:54:01 UTC+1, Thomas Koenig wrote:
>> Michael F. Stemper <michael...@gmail.com> schrieb:
>> > On 13/04/2022 01.02, Thomas Koenig wrote:
>> >> Gary R. Schmidt <grsc...@acm.org> schrieb:
>> >>> On 13/04/2022 09:03, Christian Weisgerber wrote:
>> >>>> On 2022-04-12, Ted Nolan <tednolan> <t...@loft.tnolan.com> wrote:
>> >>>>
>> >>>>> Yep, on a FreeBSD laptop right now using *real* vi -- none of this vim nonsense
>> >>>>> I have to use on Linux.
>> >>>>
>> >>>> That's actually nvi and not "real vi".
>> >>>>
>> >>>> Original vi, updated to build on modern systems, is available on
>> >>>> FreeBSD as a port/package. Look for "2bsd-vi".
>> >>>>
>> >>>> Anyway, as everybody knows, the standard Unix editor is ed(1).
>> >>>>
>> >>> No, it's "cat - > abc" :-)
>> >>
>> >> What's that minus sign doing there?
>> >
>> > If you're not being facetious, here's a line from the man page:
>> >
>> > With no FILE, or when FILE is -, read standard input.
>> So, why specify it at all? It's not the UNIX way (and "cat
>> coming back from Berkeley waving flags" was one of the things that
>> Kernighan complained about, IIRC).
>
>I have very limited UNIX and Linux knowledge,
>but, if you can't set parameter one as \- instead
>of no parameter, then how do you indicate that
>parameter two is not parameter one? Or, if a
>wrapper program expects you to set required
>parameters and then say "go", setting - indicates
>that "I didn't forget to set this parameter", which
>!would be inferred from leaving it blank.

Option flags, in general, stand alone. If a command
has multiple option flags (that don't take parameters),
one can lump them all into a single argument:

$ ps -fu scott
$ tar -tzf tar.file

or specify them separately in any order

$ ps -f -u scott
$ ps -u scott -f
$ tar -t -z -f tar.file
$ tar -t -f tar.file -z

For cases where the input of a command comes from a pipeline,
the '-' argument instructs the command to read from standard input
instead of a file on disk.

$ grep pattern file | sed -e "s/pattern1/pattern2" | cut -f 2 -d '," | mkisofs -o x.iso -

For cases where you need to pass something that looks like an option flag to
a command as an argument, the '--' token will terminate processing of option flags.

$ cat -v -- -f

Would print the contents of a file named '-f' with nonprintable
characters shown as escape sequences.

Pages:1234
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor