From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: Re: sh-script mode does not understand printf Date: Tue, 11 Nov 2003 13:05:10 -0700 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3FB140F6.6020804@yahoo.com> References: <3FAF6698.5000301@Nols.de> <3FAFB84C.5060101@yahoo.com> <93smkupvn5.fsf@xpc14.ast.cam.ac.uk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1068581821 30526 80.91.224.253 (11 Nov 2003 20:17:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Nov 2003 20:17:01 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 11 21:16:58 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AJewc-0005To-00 for ; Tue, 11 Nov 2003 21:16:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJfjN-0002uN-NJ for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Nov 2003 16:07:21 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AJfjC-0002uB-1I for bug-gnu-emacs@gnu.org; Tue, 11 Nov 2003 16:07:10 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AJfif-0002jx-9x for bug-gnu-emacs@gnu.org; Tue, 11 Nov 2003 16:07:09 -0500 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AJfie-0002jt-Ve for bug-gnu-emacs@gnu.org; Tue, 11 Nov 2003 16:06:37 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AJelD-0005bk-00 for ; Tue, 11 Nov 2003 21:05:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AJelB-0005bW-00 for ; Tue, 11 Nov 2003 21:05:09 +0100 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AJelB-0007Tu-00 for ; Tue, 11 Nov 2003 21:05:09 +0100 Original-Lines: 26 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:6125 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6125 Glenn Morris wrote: > Kevin Rodgers wrote: > >># /bin/ksh88 -c "type printf" >>printf is /usr/bin/printf >># /bin/ksh93 -c "type printf" >>printf is a shell builtin >> > > That's an awkward one, because (AFAICS) sh-script.el doesn't know > anything about ksh93. "ksh" is assumed to be ksh88. Do you think ksh88 > and ksh93 differ significantly enough for it to be worth adding code > for ksh93 to sh-script? Is "ksh" these days more likely to be ksh88 or > ksh93? That's a good question. The folks on comp.unix.shell would say ksh93 (which does have a lot of new features I'm just now learning about), but Sun e.g. still distributes ksh88. What do the major GNU/Linux distributions provide? http://kornshell.com/ http://www.research.att.com/sw/download/ -- Kevin Rodgers