help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to map sh-mode to mean bash-mode


From: Andreas Röhler
Subject: Re: how to map sh-mode to mean bash-mode
Date: Mon, 18 Jul 2011 10:31:57 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11

Am 18.07.2011 10:19, schrieb Peter Dyballa:

Am 18.07.2011 um 07:52 schrieb Andreas Röhler:

As you know, the bash shell likes to call itself ti sometimes.

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
        
        pete 219 /\ bash --version
        GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)
        Copyright (C) 2007 Free Software Foundation, Inc.
        
        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üßen

   Pete

No matter which way you ride, it's uphill and against the wind.
                                – First Law of Bicycling



Thanks, seeing now same here at Suse11.4 where sh is linked onto bash.

Andreas







reply via email to

[Prev in Thread] Current Thread [Next in Thread]