From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Subject: Re: shebang consistency
Date: Thu, 13 Dec 2007 17:12:13 -0500 [thread overview]
Message-ID: <20071213221213.GA4395@scowler.net> (raw)
In-Reply-To: <20071213211213.ed833fc7.p.w.stephenson@ntlworld.com>
On Thu, Dec 13, 2007 at 09:12:13PM +0000, Peter Stephenson wrote:
> Go ahead if you like, with or without the space.
Index: Functions/Calendar/calendar_add
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Calendar/calendar_add,v
retrieving revision 1.5
diff -u -r1.5 calendar_add
--- Functions/Calendar/calendar_add 29 Nov 2007 09:49:43 -0000 1.5
+++ Functions/Calendar/calendar_add 13 Dec 2007 22:08:17 -0000
@@ -1,4 +1,4 @@
-#!/bin/env zsh
+#!/bin/zsh
# All arguments are joined with spaces and inserted into the calendar
# file at the appropriate point.
Index: Functions/Example/cat
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Example/cat,v
retrieving revision 1.1
diff -u -r1.1 cat
--- Functions/Example/cat 2 Apr 2001 12:24:08 -0000 1.1
+++ Functions/Example/cat 13 Dec 2007 22:08:17 -0000
@@ -1,4 +1,4 @@
-#! /usr/local/bin/zsh -f
+#!/bin/zsh -f
local file
Index: Functions/Example/zless
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Example/zless,v
retrieving revision 1.1
diff -u -r1.1 zless
--- Functions/Example/zless 2 Apr 2001 12:28:48 -0000 1.1
+++ Functions/Example/zless 13 Dec 2007 22:08:17 -0000
@@ -1,4 +1,4 @@
-#!/usr/bin/zsh -f
+#!/bin/zsh -f
#
# zsh function script to run less on various inputs, decompressing as required.
# Author: Phil Pennock. zsh-hacks@athenaeum.demon.co.uk
Index: Functions/Misc/checkmail
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Misc/checkmail,v
retrieving revision 1.5
diff -u -r1.5 checkmail
--- Functions/Misc/checkmail 15 Sep 2006 18:22:19 -0000 1.5
+++ Functions/Misc/checkmail 13 Dec 2007 22:08:17 -0000
@@ -1,4 +1,4 @@
-#! /usr/local/bin/zsh
+#!/bin/zsh
#
# This autoloadable function checks the folders specified as arguments
# for new mails. The arguments are interpreted in exactly the same way
Index: Functions/Misc/run-help
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Misc/run-help,v
retrieving revision 1.6
diff -u -r1.6 run-help
--- Functions/Misc/run-help 15 Oct 2006 17:30:13 -0000 1.6
+++ Functions/Misc/run-help 13 Dec 2007 22:08:17 -0000
@@ -1,4 +1,4 @@
-#!/usr/local/bin/zsh
+#!/bin/zsh
#
# Figure out where to get the best help, and get it.
#
Index: Functions/Misc/zcalc
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Misc/zcalc,v
retrieving revision 1.14
diff -u -r1.14 zcalc
--- Functions/Misc/zcalc 19 Apr 2006 16:09:07 -0000 1.14
+++ Functions/Misc/zcalc 13 Dec 2007 22:08:17 -0000
@@ -1,4 +1,4 @@
-#!/usr/local/bin/zsh -i
+#!/bin/zsh -i
#
# Zsh calculator. Understands most ordinary arithmetic expressions.
# Line editing and history are available. A blank line or `q' quits.
Index: Functions/Misc/zkbd
===================================================================
RCS file: /cvsroot/zsh/zsh/Functions/Misc/zkbd,v
retrieving revision 1.4
diff -u -r1.4 zkbd
--- Functions/Misc/zkbd 26 Feb 2007 07:44:10 -0000 1.4
+++ Functions/Misc/zkbd 13 Dec 2007 22:08:18 -0000
@@ -1,4 +1,4 @@
-#! /bin/zsh -f
+#!/bin/zsh -f
[[ -o interactive ]] && {
local -i ARGC
prev parent reply other threads:[~2007-12-13 22:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-12 23:31 Clint Adams
2007-12-13 4:13 ` Bart Schaefer
2007-12-13 4:38 ` Clint Adams
2007-12-13 7:53 ` Stephane Chazelas
2007-12-13 21:12 ` Peter Stephenson
2007-12-13 22:12 ` Clint Adams [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=20071213221213.GA4395@scowler.net \
--to=clint@zsh.org \
--cc=zsh-workers@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).