From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id d9e60715 for ; Sat, 8 Feb 2020 23:54:55 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 64A949CCC3; Sun, 9 Feb 2020 09:54:54 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 230C19CCAA; Sun, 9 Feb 2020 09:54:31 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="JXXd4YKS"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id C8F3A9CCAA; Sun, 9 Feb 2020 09:54:28 +1000 (AEST) Received: from mail-ua1-f45.google.com (mail-ua1-f45.google.com [209.85.222.45]) by minnie.tuhs.org (Postfix) with ESMTPS id 54DD59CCA9 for ; Sun, 9 Feb 2020 09:54:28 +1000 (AEST) Received: by mail-ua1-f45.google.com with SMTP id o42so1190224uad.10 for ; Sat, 08 Feb 2020 15:54:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cnZG5yjXmJKNquXoV38PIWVQHN5eT3YS2txZ6FZ/vtQ=; b=JXXd4YKSA5M7y5aJafMrbQghfSn+2/qtlwaCH4zcGBBmnJRNR7LgmtQ0CmnkaZW0Dx uwjGZGsFd1ISnagADbocAC1Q6yqJJsHg2m8wg+b6Xir66olq7nQPV7nKW3K2Q5dmVPc5 wxaGEfO72PFGAA9UOi9k/z5YrT1u/u++/iZmAxX6C3go5F7XUcauf40w1mPLpZ+1bq6P Hrc6bDvo8QKhYPDhHJGypEo6YRXjzcXisgGJUuksAMxgfxwFvNKCahj0l6KSYA0v+Fg6 VFIm6ArbIDohn7BjpnZrJOErS3VQSOdc8BaSoM/uXtvWJXKIGjsG7Ar3dgSxo1YuW33q tBKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cnZG5yjXmJKNquXoV38PIWVQHN5eT3YS2txZ6FZ/vtQ=; b=CFiW9Go/X1jEBRp8JwTedyzjOjXVk/nlPqNbxOO+b+lFKyJYGtwVxzAfBDIxnrA1M/ UhV1DZH3+0E/t0udCleZdW0Z4LZznSVZ65Qzu3xMwn2QM2wnAnEFCPzQUgJAgOcqfaw1 +g7EnOOGcDF+hw5ManweolPYL4mqqVbPYdw4WScG9JP4bFRuGhkRWqmDScEoXW0f1qcZ NEvy6d5SGB19y1Y35cgbhwHhoa1pwwB5w76GmfHKPYwCttQgxY6DZ7WHAl/eeCFB1LfT jH+PSamvn7TITNPeYr4RYHqvcC/dp4w7fInWYKvEElHjZkvaHaD4UZJzi5557fpMo6o0 ezJw== X-Gm-Message-State: APjAAAXuQI/gDIOzI5vvrePVZH18g2mYaDGhkURWesVpgQgLDddsce/c 51+9wln8kISOhPtKyDzeR6ExjEb8PaO3KSfMFdBuYht8 X-Google-Smtp-Source: APXvYqwJSyeuBuLXmhiiFMjFD7sRs4Z1nmdOl+GdMmOPo0r4nPUf0ewOx/5BFR1ToUYtxlG5GKWf2pF5f6U/yBs23ik= X-Received: by 2002:ab0:7612:: with SMTP id o18mr2763076uap.73.1581206067310; Sat, 08 Feb 2020 15:54:27 -0800 (PST) MIME-Version: 1.0 References: <46c41c18-5b44-14e5-1f0a-9272866993da@case.edu> <62548c3e-4692-c2d3-f06f-745353490b95@case.edu> <20da6a39-c07b-fe42-c9fb-43bf3c54d179@case.edu> In-Reply-To: <20da6a39-c07b-fe42-c9fb-43bf3c54d179@case.edu> From: Rob Pike Date: Sun, 9 Feb 2020 10:54:16 +1100 Message-ID: To: chet.ramey@case.edu Content-Type: multipart/alternative; boundary="000000000000f575ec059e193901" Subject: Re: [TUHS] Warner's Early Unix Presentation X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: The Eunuchs Hysterical Society Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --000000000000f575ec059e193901 Content-Type: text/plain; charset="UTF-8" Well, "whatis" was a fine starter in 1983. I'm not saying anything should change. This is a history list. -rob On Sun, Feb 9, 2020 at 10:36 AM Chet Ramey wrote: > On 2/8/20 6:29 PM, Rob Pike wrote: > > % rc > > > > % whatis cd > > > > builtin cd > > > > % > > > > > > It's much simpler this way. The output is the executable input, free of > > decoration and ready to use. > > OK. `whatis' is a non-starter as a builtin, but bash ships with an example > `whatis' shell function that does this. > > -- > ``The lyf so short, the craft so long to lerne.'' - Chaucer > ``Ars longa, vita brevis'' - Hippocrates > Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/ > --000000000000f575ec059e193901 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Well, "whatis" was a fine starter in 1983.
<= br>
I'm not saying anything should change. This is a history = list.

-rob


On Sun, Feb 9, 2020= at 10:36 AM Chet Ramey <chet.ram= ey@case.edu> wrote:
On 2/8/20 6:29 PM, Rob Pike wrote:
> % rc
>
> % whatis cd
>
> builtin cd
>
> %=C2=A0
>
>
> It's much simpler this way. The output is the executable input, fr= ee of
> decoration and ready to use.

OK. `whatis' is a non-starter as a builtin, but bash ships with an exam= ple
`whatis' shell function that does this.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0``Ars longa, = vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU=C2=A0 =C2=A0 chet@case.edu=C2=A0 =C2=A0 http://tiswww.cwru.edu/~che= t/
--000000000000f575ec059e193901--