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.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, 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 5fbe6d99 for ; Sat, 8 Feb 2020 23:22:09 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 0450E9CCCA; Sun, 9 Feb 2020 09:22:07 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 346649CCAA; Sun, 9 Feb 2020 09:21:44 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 827CF9CCAA; Sun, 9 Feb 2020 09:21:40 +1000 (AEST) Received: from wopr.sciops.net (wopr.sciops.net [216.126.196.60]) by minnie.tuhs.org (Postfix) with ESMTPS id ACBCD9CCA9 for ; Sun, 9 Feb 2020 09:21:39 +1000 (AEST) Received: (qmail 76786 invoked by uid 1001); 8 Feb 2020 15:21:36 -0800 Date: Sat, 8 Feb 2020 15:21:36 -0800 From: Kurt H Maier To: Rob Pike Message-ID: <20200208232136.GA21706@wopr> References: <46c41c18-5b44-14e5-1f0a-9272866993da@case.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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" On Sun, Feb 09, 2020 at 10:11:06AM +1100, Rob Pike wrote: > > bash-3.2$ export f > You need export -f f here. > > How do I get bash to print the function as (shell) source code, so I > could edit it and play with it again? $ type f f is a function f () { echo hi } I don't like bash, but it has every feature ever thought of. Maybe I could better phrase that: I don't like bash, because it has every feature ever thought of. khm