From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Chaos Eternal Newsgroups: gmane.lisp.guile.devel Subject: Re: feature request: simple hashbang for executable scripts Date: Mon, 21 Aug 2017 07:04:59 +0000 Message-ID: References: <20170819090037.GA12397@sph-desktop.fritz.box> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c19518e6f4e5b05573e1983" X-Trace: blaine.gmane.org 1503299132 20455 195.159.176.226 (21 Aug 2017 07:05:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 21 Aug 2017 07:05:32 +0000 (UTC) To: j kalbhenn , guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Aug 21 09:05:28 2017 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1djgm3-0004qL-3Q for guile-devel@m.gmane.org; Mon, 21 Aug 2017 09:05:23 +0200 Original-Received: from localhost ([::1]:49564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djgm9-0001uT-Sy for guile-devel@m.gmane.org; Mon, 21 Aug 2017 03:05:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37853) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1djglt-0001r6-Om for guile-devel@gnu.org; Mon, 21 Aug 2017 03:05:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1djgls-0007XJ-NU for guile-devel@gnu.org; Mon, 21 Aug 2017 03:05:13 -0400 Original-Received: from mail-wr0-x22b.google.com ([2a00:1450:400c:c0c::22b]:35659) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1djgls-0007WN-Ge for guile-devel@gnu.org; Mon, 21 Aug 2017 03:05:12 -0400 Original-Received: by mail-wr0-x22b.google.com with SMTP id k46so15678804wre.2 for ; Mon, 21 Aug 2017 00:05:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shlug-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=CVgz1Z8c1YZDTza+F8DYDBVEXP1+qHdFLqgaZ2uexFk=; b=OMKk6RwVvqA4E1sS+sOjJJRWfVPj2vESZCBCTMIEMNdsu8rM1h2xQkpsFnOw/CMtt4 3SqTCjgZP7FvTz1eDA/UL8+DnXywCbIi5om61XkfhbaBYa8JPo9BYeXtr9+c3JrFBZ+2 rO4HiJv32//3RgOebDojdzGOeS+aBmg4XcYjUYc2bMhI9OouNS5Jh46lrUPFCaZJqg6f 0au4TYOFSXfCEhcpzAh02GsocQjl4Z+FBVlPyqE/5O/47smpydQHD9tr0uwKwmp1nirg 6AKK6p8N5dbhShCeRuhZ1rKeLz6D1QMDC3IeJI8uKlShTbkaaaWP0IAIDpgqv8nfXXyR srLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=CVgz1Z8c1YZDTza+F8DYDBVEXP1+qHdFLqgaZ2uexFk=; b=UzqphWO/EOAEdZ4jFmnSOpDG1FNqcwupUDjEld6uDP73X02a2WVKygGyUH4FLNpaVA SyT2D3NwyotKeoVNWXNOT4Jn2hq458RtoIcx2694mV1ySB8wc5ZfTwqcjb2w4Pvo1lcp zokOunQ5M078F37QirperCv06EZoyiF0/LsZYJx+gMXMJlilIE7XiFQlc6saPbIlBZc6 SRYiOisB27eQmUj7WqMlULlZ6B006Y4CHrF5nbsnnm9omLlngOC7RKJqdt9eCitvhQpA x57FT+gmp5Lupa/6u67EtmHkXzS/rpOenXdr68t0/eeKrJm4Yh0yhjEAmuVSx6zwDZVc yLQw== X-Gm-Message-State: AHYfb5ilSuS52wVkSRz4AwKVFIKiKEvGdAAZMHsGh3GtRvxsM1+xwLId eS+nyJjmTTwUcYot4jUwILql8yBPVXz9 X-Received: by 10.80.167.5 with SMTP id h5mr11976432edc.220.1503299109860; Mon, 21 Aug 2017 00:05:09 -0700 (PDT) In-Reply-To: <20170819090037.GA12397@sph-desktop.fritz.box> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22b X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:19262 Archived-At: --94eb2c19518e6f4e5b05573e1983 Content-Type: text/plain; charset="UTF-8" you can put more arguments in before !# that is on-purpose. On Sat, Aug 19, 2017 at 5:01 PM j kalbhenn wrote: > scripts of other languages usually need just one line to specify the > interpreter: > > #!/usr/bin/myinterpreter > > but with guile we have to add a final !# > > #!/usr/bin/guile !# > > or even > > #!/usr/bin/guile -s > !# > > in my opinion, this is not ideal. from my perspective as a guile user this > seems to be unnecessarily inconsistent and complicated. > > --94eb2c19518e6f4e5b05573e1983 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
you can put more arguments in before !#=C2=A0
that is = on-purpose.

On S= at, Aug 19, 2017 at 5:01 PM j kalbhenn <jkal@posteo.eu> wrote:
scr= ipts of other languages usually need just one line to specify the interpret= er:

=C2=A0 =C2=A0 #!/usr/bin/myinterpreter

but with guile we have to add a final !#

=C2=A0 =C2=A0 #!/usr/bin/guile !#

=C2=A0 =C2=A0 or even

=C2=A0 =C2=A0 #!/usr/bin/guile -s
=C2=A0 =C2=A0 !#

in my opinion, this is not ideal. from my perspective as a guile user this = seems to be unnecessarily inconsistent and complicated.

--94eb2c19518e6f4e5b05573e1983--