From nobody Sat Mar 25 22:18:34 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PkYRh6bJwz41npr for ; Sat, 25 Mar 2023 22:20:16 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mail.inka.de (mail.inka.de [IPv6:2a04:c9c7:0:1073:217:a4ff:fe3b:e77c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PkYRg3NDWz45s8 for ; Sat, 25 Mar 2023 22:20:15 +0000 (UTC) (envelope-from naddy@mips.inka.de) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of naddy@mips.inka.de has no SPF policy when checking 2a04:c9c7:0:1073:217:a4ff:fe3b:e77c) smtp.mailfrom=naddy@mips.inka.de; dmarc=none Received: from mips.inka.de (naddy@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1pgCF4-00GbUA-7z; Sat, 25 Mar 2023 23:20:06 +0100 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.17.1/8.17.1) with ESMTP id 32PMIYgX015224 for ; Sat, 25 Mar 2023 23:18:34 +0100 (CET) (envelope-from naddy@lorvorc.mips.inka.de) Received: (from naddy@localhost) by lorvorc.mips.inka.de (8.17.1/8.17.1/Submit) id 32PMIYb8015223 for freebsd-questions@freebsd.org; Sat, 25 Mar 2023 23:18:34 +0100 (CET) (envelope-from naddy) Date: Sat, 25 Mar 2023 23:18:34 +0100 From: Christian Weisgerber To: freebsd-questions@freebsd.org Subject: Bye, bye, bash Message-ID: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spamd-Result: default: False [-2.10 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[inka.de]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; R_SPF_NA(0.00)[no SPF record]; ARC_NA(0.00)[]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:202113, ipnet:2a04:c9c7::/32, country:DE]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[naddy]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Queue-Id: 4PkYRg3NDWz45s8 X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N (Not a question.) I have been using bash as my interactive shell on FreeBSD since forever, because I don't like csh-family shells and sh was a bit too limited, although I use approximately 0% of bash's bloated feature set. For the last few years, I've been keeping an eye on sh, though, since it has kept gaining an interactive feature here, a feature there, and has been getting ever closer to supporting everything I actually use. Recently, the very last feature essential to me was added to sh: "Allow non-printing characters in prompt strings". So far it's only in main, but I locally cherry-picked it into stable/13 for my own use. With that, I took a deep breath, chsh'ed from /usr/local/bin/bash to /bin/sh and decided to give it a go. It's been a month and I don't miss bash one bit. Yes, there are a few features I use rarely and whose absence I noticed, but if I need those, I can start up an instance of bash. I don't think I actually have. For everyday use it's a non-issue. So, I guess, thank you to the people who have worked on sh, and maybe a few more people will decide that they don't need to install bash, because FreeBSD's base sh is good enough. -- Christian "naddy" Weisgerber naddy@mips.inka.de