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: Peter Dyballa
Subject: Re: how to map sh-mode to mean bash-mode
Date: Mon, 18 Jul 2011 10:19:26 +0200

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




reply via email to

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