From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: tuhs-bounces@minnie.tuhs.org X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.1 Received: from minnie.tuhs.org (minnie.tuhs.org [45.79.103.53]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id a794e17e for ; Tue, 7 Aug 2018 11:01:31 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 3C8DEA1A0F; Tue, 7 Aug 2018 21:01:30 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 63671A19D1; Tue, 7 Aug 2018 21:01:07 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id D499FA19D1; Tue, 7 Aug 2018 21:01:04 +1000 (AEST) X-Greylist: delayed 922 seconds by postgrey-1.35 at minnie.tuhs.org; Tue, 07 Aug 2018 21:01:03 AEST Received: from ppsw-33.csi.cam.ac.uk (ppsw-33.csi.cam.ac.uk [131.111.8.133]) by minnie.tuhs.org (Postfix) with ESMTPS id C0821A19CF for ; Tue, 7 Aug 2018 21:01:03 +1000 (AEST) X-Cam-AntiVirus: no malware found X-Cam-ScannerInfo: http://help.uis.cam.ac.uk/email-scanner-virus Received: from grey.csi.cam.ac.uk ([131.111.57.57]:53510) by ppsw-33.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.139]:25) with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1fmzUf-000VRq-h8 (Exim 4.91) (return-path ); Tue, 07 Aug 2018 11:45:37 +0100 Date: Tue, 7 Aug 2018 11:45:37 +0100 From: Tony Finch To: =?UTF-8?Q?Michael_Kj=C3=B6rling?= In-Reply-To: <20180807080256.lgqaevcah2a7sn2t@h-174-65.A328.priv.bahnhof.se> Message-ID: References: <1533588813.1868321.1465431536.01CE36BC@webmail.messagingengine.com> <20180807065453.jjnsx3cunjug5q3e@h-174-65.A328.priv.bahnhof.se> <20180807080256.lgqaevcah2a7sn2t@h-174-65.A328.priv.bahnhof.se> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="1870870841-738583816-1533638737=:3596" Subject: Re: [TUHS] Origins of shell prompt suffixes % $ > # X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tuhs@minnie.tuhs.org Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1870870841-738583816-1533638737=:3596 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Michael Kj=C3=B6rling wrote: > > I suspect I must stand corrected on this. Turns out that at least GNU > bash 4.4.12(1) seems to not like a `;` at the beginning of the command > line. This is a consequence of the POSIX shell grammar, which doesn't allow empty commands. http://pubs.opengroup.org/onlinepubs/9699919799.2013edition/utilities/V3_ch= ap02.html#tag_18_10 The prompt I have used since about 1997 (and I can't remember where I got it from - somewhere on Usenet, probably) in its most distilled form is :; although in practice I have a load of extra fluff for username, hostname, CWD, etc. usw. Tony. --=20 f.anthony.n.finch http://dotat.at/ Fair Isle, Faeroes: South or southwest 4 or 5, occasionally 6 for a time. Slight or moderate, occasionally rough for a time. Showers. Moderate or goo= d. --1870870841-738583816-1533638737=:3596--