bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Bruno Haible <bruno@clisp.org>, Eric Blake <eblake@redhat.com>
Cc: "Tim Rühsen" <tim.ruehsen@gmx.de>, bug-gnulib@gnu.org
Subject: Re: Alpine: useless-if-before-free: Exec format error
Date: Fri, 14 Jun 2019 17:47:43 -0700	[thread overview]
Message-ID: <3c4edbc3-d2d0-453a-110a-a92f597f165d@cs.ucla.edu> (raw)
In-Reply-To: <4819709.utxfUYQY1k@omega>

On 6/14/19 4:51 PM, Bruno Haible wrote:
> But POSIX does not specify that the
> command interpreter for scripts without shebang is /bin/sh; therefore IMHO
> it would be good not to make this assumption.

Perhaps the code in those scripts was taken from an earlier version of 
the output of "perldoc perlrun". The current version 
<https://perldoc.perl.org/perlrun.html> gives several alternative script 
headers (including at least one that appears to be a joke) and say that 
none work everywhere. It is a bit of a portability mess. Perhaps we 
should just prepend "#!/bin/sh" or "#!/usr/bin/env perl" (not sure 
which) and let people on weird systems fix things by hand.



  reply	other threads:[~2019-06-15  0:59 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-14 17:04 Alpine: useless-if-before-free: Exec format error Tim Rühsen
2019-06-14 17:50 ` Paul Eggert
2019-06-14 19:47   ` Tim Rühsen
2019-06-14 21:28     ` Bruno Haible
2019-06-14 21:47       ` Eric Blake
2019-06-14 23:17         ` Bruno Haible
2019-06-14 23:51           ` Bruno Haible
2019-06-15  0:47             ` Paul Eggert [this message]
2019-06-15  2:03               ` Bruno Haible
2019-06-15  7:23                 ` Paul Eggert
2019-06-15 11:06                   ` Bruno Haible
2019-06-15 11:25                     ` Darshit Shah
2019-06-15 12:01                       ` Emacs time stamp hook Bruno Haible
2019-06-15 13:39                         ` Darshit Shah
2019-06-15 15:25                           ` Bruno Haible
2019-06-15 18:35                             ` Paul Eggert
2019-06-15 19:48                               ` Bruno Haible
2019-06-16  0:30                                 ` Jim Meyering
2019-06-16 12:57                           ` Bruno Haible
2019-06-15 18:35                     ` Alpine: useless-if-before-free: Exec format error Paul Eggert
2019-06-15 20:14                       ` Bruno Haible
2019-06-15 23:17                         ` Paul Eggert
2019-06-16 13:12                           ` Bruno Haible
2019-06-18  0:51                             ` Paul Eggert
2019-06-18  1:32                               ` Bruno Haible
2019-06-18  2:30                                 ` Paul Eggert
2019-06-19 10:10                                   ` Bruno Haible
2019-06-23 16:32                                     ` Jim Meyering
2019-06-24  8:06                                       ` Tim Rühsen
2019-06-15 10:41             ` Bruno Haible

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

  List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3c4edbc3-d2d0-453a-110a-a92f597f165d@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=bruno@clisp.org \
    --cc=bug-gnulib@gnu.org \
    --cc=eblake@redhat.com \
    --cc=tim.ruehsen@gmx.de \
    /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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).