Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Shebang diff



On Feb 17,  4:23pm, Peter Stephenson wrote:
} Subject: Re: Shebang diff
}
} On Sat, 16 Feb 2008 11:38:22 -0800
} Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
} > Functions/Misc/sticky-note is explicitly designed to be runnable as a
} > standalone script.  Removing the #! line was IMO wrong.
} 
} If we wanted to make proper arrangements for them to be called
} directly, we should both install them into the path and make them
} executable at that point, rather than rely on them being executable
} from where they are. So I think rather than changing the permissions
} again, if we're interested in doing something more with ambivalent
} scripts/functions it would be better to provide some utility to fix
} things.

I'm not concerned with the file permissions; I don't care whether or
not they have the execute bit set.  I just don't want the #! removed.
Running chmod to "install" the script is one thing, but having to edit
the file is another entirely.



Messages sorted by: Reverse Date, Date, Thread, Author