From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21169 invoked from network); 4 Dec 2020 07:12:30 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 4 Dec 2020 07:12:30 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 958099CA76; Fri, 4 Dec 2020 17:12:29 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 00C3B9CA51; Fri, 4 Dec 2020 17:11:54 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id E578D9CA4F; Fri, 4 Dec 2020 17:11:50 +1000 (AEST) X-Greylist: delayed 447 seconds by postgrey-1.36 at minnie.tuhs.org; Fri, 04 Dec 2020 17:11:49 AEST Received: from marmaro.de (marmaro.de [176.28.23.198]) by minnie.tuhs.org (Postfix) with ESMTP id 134B19CA4B for ; Fri, 4 Dec 2020 17:11:48 +1000 (AEST) Received: by marmaro.de (masqmail 0.3.6-dev, from userid 1000) id 1kl58f-5CH-00 for ; Fri, 04 Dec 2020 08:04:21 +0100 To: tuhs@tuhs.org User-Agent: meillo's mail handler (mmh) X-License: CC0 (http://marmaro.de/rights) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <19980.1607065461.1@marmaro.de> Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2020 08:04:21 +0100 From: markus schnalke Message-ID: <1kl58f-5CH-00@marmaro.de> Subject: [TUHS] Command name of the B compiler; One letter command names 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: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" Hoi, I'm wondering what the name of the B compiler was. Doug's ``Unix Reader'' lists: 1 2 3 4 5 6 7 8 9 + + + . . . . . . b compile b program =2E . . . . + + + + bc arbitrary-precision arithmetic language Via Wikipedia I found a scan of the ``Users' Reference to B'', a technical memorandum by Ken, dated 1972-01-07 (which is between the releases of the 1st and 2nd Edition). https://web.archive.org/web/20150317033259/https://www.bell-labs.com/usr/d= mr/www/kbman.pdf There on page 25: 10.0 Usage Currently on UNIX, there is no B command. The B compiler phases must be executed piecemeal. The first phase turns a B source program into an intermediate language. /etc/bc source interm The next phase turns the intermediate language into assembler source, at which time the intermediate language can be removed. /etc/ba interm asource rm interm The next phase assembles the assembler source into the object tile a.out. After this the a.out file can be renamed and the assembler source file can be removed. as asource mv a.out object rm asource The last phase loads the various object files with the necessary libraries in the desired order. ld object /etc/brtl -lb /etc/bilib /etc/brt2 Now a.out contains the completely bound and loaded program and can be executed. a.out A canned sequence of shell commands exists invoked as follows: sh /usr/b/rc x It will compile, convert, assemble and load the file x.b into the executable file a.out. It lists /etc/bc, as a command to convert into the intermediate language, and /etc/ba, to convert the intermediate language into assembler source, but lists no `b' command. The wrapper script is /usr/b/rc. Can someone clarify? I came to this question because I was looking for one letter commands. I always thought them to be a reserved namespace for the user ... Any background on that topic is appreciated as well. ;-) meillo