From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: how to map sh-mode to mean bash-mode Date: Mon, 18 Jul 2011 10:19:26 +0200 Message-ID: <963C65BF-6BDD-43A2-94F6-089EAEF9998B@Web.DE> References: <4E232057.1040409@easy-emacs.de> <871uxovdtu.fsf@jidanni.org> <4E23CA04.3000007@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1310977484 24157 80.91.229.12 (18 Jul 2011 08:24:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 18 Jul 2011 08:24:44 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org List" , jidanni@jidanni.org To: =?iso-8859-1?Q?Andreas_R=F6hler?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 18 10:24:38 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qij7x-0007PJ-05 for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Jul 2011 10:24:33 +0200 Original-Received: from localhost ([::1]:59028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qij7v-0000eD-RO for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Jul 2011 04:24:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qij33-000881-SV for help-gnu-emacs@gnu.org; Mon, 18 Jul 2011 04:19:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qij32-0001rI-Cz for help-gnu-emacs@gnu.org; Mon, 18 Jul 2011 04:19:29 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:58768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qij31-0001r8-VW for help-gnu-emacs@gnu.org; Mon, 18 Jul 2011 04:19:28 -0400 Original-Received: from smtp05.web.de ( [172.20.4.166]) by fmmailgate03.web.de (Postfix) with ESMTP id 8C22D195B0C57; Mon, 18 Jul 2011 10:19:25 +0200 (CEST) Original-Received: from [88.153.242.186] (helo=peter-dyballas-macbook-pro.fritz.box) by smtp05.web.de with asmtp (WEB.DE 4.110 #2) id 1Qij2z-0002hu-00; Mon, 18 Jul 2011 10:19:25 +0200 In-Reply-To: <4E23CA04.3000007@easy-emacs.de> X-Mailer: Apple Mail (2.1084) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/FNHbqPbHgWNav++rUcdG6+R2OcbtFubS/Xp8k B9fj2FeCt2Nvrd7Bkh7y7zQKlvc+di7OIZ73939Z6XKUOdmynJ G0eeCU3at6suF4FvyYWw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.234 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81647 Archived-At: Am 18.07.2011 um 07:52 schrieb Andreas R=F6hler: >> As you know, the bash shell likes to call itself ti sometimes. >=20 > Didn't know that. Curious to read an example. Mac OS X 10.6.8: pete 218 /\ l /bin | egrep 'ti$' -rwxr-xr-x 1 root wheel 1346544 5 Mai 00:15 bash -rwxr-xr-x 2 root wheel 767200 5 Mai 00:15 csh -r-xr-xr-x 1 root wheel 2186880 5 Mai 00:15 kWh -r-xr-xr-x 1 root wheel 1346624 5 Mai 00:15 sh -rwxr-xr-x 2 root wheel 767200 5 Mai 00:15 tcsh -rwxr-xr-x 1 root wheel 1597200 5 Mai 00:15 zsh =09 pete 219 /\ bash --version GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0) Copyright (C) 2007 Free Software Foundation, Inc. =09 pete 220 /\ sh --version GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0) Copyright (C) 2007 Free Software Foundation, Inc. Notice the different permission for bash and sh!r-xr-xr-x -- Mit friedvollen Gr=FC=DFen Pete No matter which way you ride, it's uphill and against the wind.=20 =96 First Law of Bicycling