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=-0.9 required=5.0 tests=FROM_EXCESS_BASE64, 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 5c526a8a for ; Tue, 7 Aug 2018 08:13:18 +0000 (UTC) Received: by minnie.tuhs.org (Postfix, from userid 112) id 4BF6DA19F9; Tue, 7 Aug 2018 18:13:17 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id F325BA19CD; Tue, 7 Aug 2018 18:13:02 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id 273EFA19CD; Tue, 7 Aug 2018 18:13:01 +1000 (AEST) X-Greylist: delayed 593 seconds by postgrey-1.35 at minnie.tuhs.org; Tue, 07 Aug 2018 18:12:59 AEST Received: from ste-pvt-msa1.bahnhof.se (ste-pvt-msa1.bahnhof.se [213.80.101.70]) by minnie.tuhs.org (Postfix) with ESMTPS id 517C8A19CC for ; Tue, 7 Aug 2018 18:12:59 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by ste-pvt-msa1.bahnhof.se (Postfix) with ESMTP id 46F523FD5F for ; Tue, 7 Aug 2018 10:03:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at bahnhof.se Received: from ste-pvt-msa1.bahnhof.se ([127.0.0.1]) by localhost (ste-pvt-msa1.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8NbMX4k7cdDe for ; Tue, 7 Aug 2018 10:02:58 +0200 (CEST) Received: from h-174-65.A328.priv.bahnhof.se (h-174-65.A328.priv.bahnhof.se [81.170.174.65]) (Authenticated sender: mc179410) by ste-pvt-msa1.bahnhof.se (Postfix) with ESMTPA id C0F453FE4A for ; Tue, 7 Aug 2018 10:02:57 +0200 (CEST) Received: from h-174-65.A328.priv.bahnhof.se (localhost [127.0.0.1]) by h-174-65.A328.priv.bahnhof.se (Postfix) with ESMTPS id 7765F2E3C6F for ; Tue, 7 Aug 2018 10:02:57 +0200 (CEST) Date: Tue, 7 Aug 2018 08:02:56 +0000 From: Michael =?utf-8?B?S2rDtnJsaW5n?= To: tuhs@minnie.tuhs.org Message-ID: <20180807080256.lgqaevcah2a7sn2t@h-174-65.A328.priv.bahnhof.se> References: <1533588813.1868321.1465431536.01CE36BC@webmail.messagingengine.com> <20180807065453.jjnsx3cunjug5q3e@h-174-65.A328.priv.bahnhof.se> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180807065453.jjnsx3cunjug5q3e@h-174-65.A328.priv.bahnhof.se> 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: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On 7 Aug 2018 06:54 +0000, from michael@kjorling.se (Michael Kjörling): > the shell will do The Right Thing (tm) 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. $ /bin/bash --version | head -n1 GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu) $ /bin/bash $ ; true bash: syntax error near unexpected token `;' $ echo $? 2 $ Hopefully other shells are more sane. -- Michael Kjörling • https://michael.kjorling.se • michael@kjorling.se “The most dangerous thought that you can have as a creative person is to think you know what you’re doing.” (Bret Victor)