From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 16 07:24:26 2013 Return-Path: Delivered-To: hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99609A1B for ; Mon, 16 Dec 2013 07:24:26 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 311B6104B for ; Mon, 16 Dec 2013 07:24:26 +0000 (UTC) Received: from [157.181.98.186] ([157.181.98.186]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LvV1X-1VRgJ7067P-010gMK for ; Mon, 16 Dec 2013 08:24:18 +0100 Message-ID: <52AEAA80.2070004@gmx.com> Date: Mon, 16 Dec 2013 08:23:44 +0100 From: dt71@gmx.com User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Firefox/24.0 SeaMonkey/2.21 MIME-Version: 1.0 To: hackers@FreeBSD.org Subject: Re: Interactive /bin/sh References: <20131215.105840.948.1@DOMY-PC> <1387125253.1177.2.camel@revolution.hippie.lan> In-Reply-To: <1387125253.1177.2.camel@revolution.hippie.lan> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:UCb3Ht5UMyNGh/CHviCGI+7gOmzPl8MIQFaJFP/juvEgpck7TQc sfGRogLHWRo4K39Rvt2DickI5RDWKSUfpnVNuiLwWlTKa1OEr9vIn1L9YlP1WLV22wMfK1U nDEabsfEYAmnIkM7bylA7NiFgSnZqmXeGDF06RLBkQ8y8fDFWh6iOROHmgrF+x0JcPxKTGv LhY2wJiIAAHm6igZGxikQ== X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2013 07:24:26 -0000 Ian Lepore wrote, On 12/15/2013 17:34: > An alternate viewpoint: I would prefer that /bin/sh remain as lean and > mean as possible, conforming to posix and especially NOT becoming > bloated with interactive usability stuff. If you want a user-friendly > bourne shell and can afford the memory and cycle bloat, use bash. > > Please keep /bin/sh lightweight for embedded and dedicated-purpose > systems that need a posix-conforming shell without a ton of overhead. sh: Prefix-based history navigation is a must, but is missing. csh: Is incompatible with sh when it comes to single-quoting arguments: WTF is up with '\!'? bash: Is ultra-bloated, even with non-interactive extensions, which I don't need. Is there a shell which differs from sh only by having more/better interactive features? Or: why is there an interactive mode in sh? BTW, I guess that the history thing is part of libeditline.