zsh-users
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Matthias Berndt <Berndt.Matthias@gmx.de>, zsh-users@sunsite.dk
Subject: Re: SheBang Problem
Date: Thu, 31 Mar 2005 01:49:58 +0000	[thread overview]
Message-ID: <1050331014959.ZM26987@candle.brasslantern.com> (raw)
In-Reply-To: <20050331025357.6ab9795f@localhost>

On Mar 31,  2:53am, Matthias Berndt wrote:
}
} I don't find anything about in the man-pages, but still need some
} information.

Depending on your version of zsh, it's either the very last section
in "man zshmisc" or about 60% of the way through "man zsh".  The
title of the section is COMPATIBILITY.

       Zsh tries to emulate sh or ksh when it is invoked as sh or
       ksh respectively; more precisely, it looks  at  the  first
       letter  of the name by which it was invoked, excluding any
       initial `r' (assumed to stand for  `restricted'),  and  if
       that  is  `s'  or `k' it will emulate sh or ksh.

In this "the first letter of the name" means the file name with any
leading path removed, i.e. the first letter of the *name* of /bin/sh
is "s" and the first letter of the *path* of /bin/sh is "/".


      reply	other threads:[~2005-03-31  1:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-31  0:53 Matthias Berndt
2005-03-31  1:49 ` Bart Schaefer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1050331014959.ZM26987@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=Berndt.Matthias@gmx.de \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).