[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#374498: debian-policy: please suggest #! / for "4 byte magic"



On Mon, Jun 19, 2006 at 03:02:12PM -0400, Justin Pryzby wrote:
> On Mon, Jun 19, 2006 at 08:55:40PM +0300, Lars Wirzenius wrote:
> > ma, 2006-06-19 kello 13:30 -0400, Justin Pryzby kirjoitti:
> > > Package: debian-policy
> > > Version: 3.7.2.0
> > > Severity: wishlist

> > > policy presently uses "#!/" without a space, but some systems
> > > apparently require the space ("#! /") and sense the script "type"
> > > using a 4-byte magic number.  info autoconf / "portable shell"
> > > mentions this.  It would be nice to at least error on the side of
> > > portability and suggest this instead of the current one (without a
> > > space).

> > Which systems? Have any of them been manufactured since the 1980s?
> Copying from the cited page: "4.2BSD based systems (such as DYNIX)".
> As noted in #374472, my interest here is in the low cost of changing
> the policy document in 3 places; but I don't how significant the gain
> is.

Non-existent.  People who are trying to make their scripts portable to
miscellaneous ancient oddball systems are going to need a quite different
reference than Debian policy.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature


Reply to: