GNU bug report logs - #20779
25.0.50; executable-self-display adds wrong magic line

Previous Next

Package: emacs;

Reported by: Nicolas Richard <youngfrog <at> members.fsf.org>

Date: Tue, 9 Jun 2015 17:33:02 UTC

Severity: minor

Found in version 25.0.50

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#20779: closed (25.0.50; executable-self-display adds wrong
 magic line)
Date: Wed, 10 Jun 2015 20:26:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 10 Jun 2015 16:25:19 -0400
with message-id <40pp53ux8w.fsf <at> fencepost.gnu.org>
and subject line Re: bug#20779: 25.0.50; executable-self-display adds wrong magic line
has caused the debbugs.gnu.org bug report #20779,
regarding 25.0.50; executable-self-display adds wrong magic line
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
20779: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20779
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Nicolas Richard <youngfrog <at> members.fsf.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; executable-self-display adds wrong magic line
Date: Tue, 09 Jun 2015 19:32:12 +0200
The command executable-self-display adds:
    #!/usr/bin/tail +2
as the first line.

This doesn't work with my version of tail:

$ tail --version
tail (GNU coreutils) 8.21

I get:
$ LANG=C /tmp/test
/usr/bin/tail: cannot open '+2' for reading: No such file or directory
==> /tmp/test <==
#!/usr/bin/tail +2
foo bar

For it to work, it would need to be 
    #!/usr/bin/tail -n+2

I have no suggestion to fix this (Is it even worth fixing ?)

Nico.


[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 20779-done <at> debbugs.gnu.org
Subject: Re: bug#20779: 25.0.50; executable-self-display adds wrong magic line
Date: Wed, 10 Jun 2015 16:25:19 -0400
Version: 25.1

Thanks; fixed.


This bug report was last modified 10 years and 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.