Re: Fix for script magic.

2000-11-02 Thread Alexandre Oliva

On Nov  1, 2000, François Pinard [EMAIL PROTECTED] wrote:

 [Pavel Roskin]
 From Autoconf documentation:

 
 If you omit the space before the path, then 4.2BSD based systems
 (such as Sequent DYNIX) will ignore the line, because they interpret
 `#! /' as a 4-byte magic number.
 

 Let's remove that comment, as well as all those useless spaces.

They're not *totally* useless.  The problem, IIRC, was that `file'
would only recognize shell scripts when they had the space in.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicampoliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist*Please* write to mailing lists, not to me




Re: Fix for script magic.

2000-11-02 Thread Akim Demaille


| On Nov  1, 2000, François Pinard [EMAIL PROTECTED] wrote:
|  [Pavel Roskin]
|  From Autoconf documentation:
| 
|  
|  If you omit the space before the path, then 4.2BSD based systems
|  (such as Sequent DYNIX) will ignore the line, because they interpret
|  `#! /' as a 4-byte magic number.
|  
| 
|  Let's remove that comment, as well as all those useless spaces.
| 
| They're not *totally* useless.  The problem, IIRC, was that `file'
| would only recognize shell scripts when they had the space in.

I seem to remember that someone had a system at hand which had some
sort of problems with `#!/', I don't recall what kind of problem
though.  Was it Harlan?


Frankly, I don't understand why we are debating about this issue, so
many words for a single white character!

Yes, Automake does not use them and it works.  Then fine, let it
remain this way until we have evidence there is a problem.

Conversely I am used to this space and I find it much better looking
than without.  So there's no reason to remove them, it's not
``better'' without than with.

But in any case, let's drop this conversation: we've had it several
times, and we have more serious things we could debate about.




Re: Fix for script magic.

2000-11-01 Thread Tom Tromey

Pavel 
Pavel If you omit the space before the path, then 4.2BSD based systems
Pavel (such as Sequent DYNIX) will ignore the line, because they interpret
Pavel `#! /' as a 4-byte magic number.
Pavel 

Reliable sources tell me that this is a myth albeit a pretty one.  I
believe that no such system ever had this constraint.  One of the
Gnitsers tested this on a Sequent DYNIX box a few years ago.

Tom




Re: Fix for script magic.

2000-11-01 Thread François Pinard

[Pavel Roskin]

 From Autoconf documentation:

 
 If you omit the space before the path, then 4.2BSD based systems
 (such as Sequent DYNIX) will ignore the line, because they interpret
 `#! /' as a 4-byte magic number.
 

Let's remove that comment, as well as all those useless spaces.

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard




Re: Fix for script magic.

2000-11-01 Thread Pavel Roskin

Hello, François!

  From Autoconf documentation:
 
  
  If you omit the space before the path, then 4.2BSD based systems
  (such as Sequent DYNIX) will ignore the line, because they interpret
  `#! /' as a 4-byte magic number.
  
 
 Let's remove that comment, as well as all those useless spaces.

I would rather keep the legend alive :-)
Better safe than sorry.

Regards,
Pavel Roskin





Re: Fix for script magic.

2000-11-01 Thread François Pinard

[Pavel Roskin]

 I would rather keep the legend alive :-)
 Better safe than sorry.

But keeping the space _is_ being sorry, already.  Escape boredom.  Add some
spice to your life.  Live dangerously!  Consider progress.  Do not stick
to previous mistakes!  Let's correct what should never have been. :-)

-- 
François Pinard   http://www.iro.umontreal.ca/~pinard