From nobody Thu Feb 16 01:52:57 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 4PHHys0MKxz3rswB for ; Thu, 16 Feb 2023 01:53:09 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PHHyr1mxmz4D35 for ; Thu, 16 Feb 2023 01:53:08 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1676512379; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KUZt6yqYgoFPuZ85pyGr5mWevZcEBqCHnNYdVcErZgU=; b=qdt4J1lEEKr2WWFonwfzoXdiGFBzmWANYFFMgxag6nBz8QRoVvdoEkYmeXp0OrYB88gx+p iEPRvF0mnsqNCNcGvODyIbMpVgWTQYi/ugGzRb45KS+9BWTd1qclWjZ7tOmUJ0EBvnhGP/ stX8cEEZ4nHIOvl5CmY5BMwP8PJl+eg= Received: from topanga (cpe-24-24-168-214.socal.res.rr.com [24.24.168.214]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 683fb55a (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 16 Feb 2023 01:52:58 +0000 (UTC) Date: Wed, 15 Feb 2023 17:52:57 -0800 From: Pete Wright To: LuMiWa Cc: FreeBSD Questions Subject: Re: ksh shell Message-ID: <20230216015257.wdskyxkzoyxxkytc@topanga> References: <20230215131424.0847d6b8@dismail.de> 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 In-Reply-To: <20230215131424.0847d6b8@dismail.de> X-Rspamd-Queue-Id: 4PHHyr1mxmz4D35 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Wed, Feb 15, 2023 at 01:14:24PM -0500, LuMiWa wrote: > Hi! > > I still using ksh shell on my system but I have a question: > I saw in ports ksh, ksh-devel and ksh93 which I am using. > But description for all 3 are the same" > > "KSH-93 is the most recent version of the KornShell Language described > in "The KornShell Command and Programming Language," by Morris > Bolsky and David Korn of AT&T Bell Laboratories. The KornShell is > a shell programming language, which is upward compatible with "sh" > (the Bourne Shell), and is intended to conform to the IEEE P1003.2/ISO > 9945.2 Shell and Utilities standard. KSH-93 provides an enhanced > programming environment in addition to the major command-entry > features of the BSD shell "csh". With KSH-93, medium-sized programming > tasks can be performed at shell-level without a significant loss > in performance. In addition, "sh" scripts can be run on KSH-93" > > What is differnt between them, please. Thank you. not an expert, but poking around the Makefiles for each of those shells i think the breakdown is: ksh93 ==> pulls source from AT&T (https://github.com/att/ast) ksh / ksh-devel ==> pulls source from a fork of the at&t code and states it is the location of current dev work (https://github.com/ksh93/ksh) so i didn't really answer your question - but i'd hazard a guess that tracking ksh or its development branch (ksh-devel) is there active work is happening. ksh93 seems to be around for historical reasons. -pete -- Pete Wright pete@nomadlogic.org