zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh workers mailing list <zsh-workers@sunsite.auc.dk>
Subject: Re: /usr/local/bin/perl
Date: Tue, 27 Mar 2001 18:19:43 +0000	[thread overview]
Message-ID: <1010327181943.ZM14188@candle.brasslantern.com> (raw)
In-Reply-To: <20010327142836.C32602@thelonious.new.ox.ac.uk>

On Mar 27,  2:28pm, Adam Spiers wrote:
} Subject: /usr/local/bin/perl
}
} This must have come up before, but I can't see it in the archives.
} 
} The following scripts hardcode binary locations (excluding /bin/sh
} since if a system can't cope with that ...) :

The only reason that I've added #! lines anywhere is so that emacs will
start up in shell script mode and select the correct syntax.

}    Util/helpfiles           :   #!/usr/bin/perl -- -*-perl-*-

The -*- perl -*- is extraneous there, at least in newer versions of emacs.
It'll figure it out from the tail of the #! path.

}    Test/ztst.zsh            :   #!/usr/local/bin/zsh -f

That should be ".../zsh -f +Z".

} Can we avoid this?  Is env(1) common to enough platforms, for
} instance, or maybe we could add something to configure?

If you put env in the #! line -- or put the #! line anywhere but as the
first line in the script -- it foils emacs' algorithm for figuring out
which mode to start in.  Same issue if you put some kind of @...@ thing
for configure there.  Not that this should be the primary reason for any
decision that we make, but at least consider it.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


      parent reply	other threads:[~2001-03-27 18:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-27 13:28 /usr/local/bin/perl Adam Spiers
2001-03-27 15:17 ` /usr/local/bin/perl Oliver Kiddle
2001-08-15 14:54   ` /usr/local/bin/perl Adam Spiers
2001-08-15 16:59     ` /usr/local/bin/perl Bart Schaefer
2001-08-16 14:12       ` /usr/local/bin/perl Adam Spiers
2001-08-16 20:52         ` /usr/local/bin/perl Bart Schaefer
2001-03-27 18:19 ` 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=1010327181943.ZM14188@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=zsh-workers@sunsite.auc.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).