unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20779: 25.0.50; executable-self-display adds wrong magic line
@ 2015-06-09 17:32 Nicolas Richard
  2015-06-10 20:25 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Richard @ 2015-06-09 17:32 UTC (permalink / raw)
  To: 20779

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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#20779: 25.0.50; executable-self-display adds wrong magic line
  2015-06-09 17:32 bug#20779: 25.0.50; executable-self-display adds wrong magic line Nicolas Richard
@ 2015-06-10 20:25 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2015-06-10 20:25 UTC (permalink / raw)
  To: 20779-done

Version: 25.1

Thanks; fixed.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-10 20:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-09 17:32 bug#20779: 25.0.50; executable-self-display adds wrong magic line Nicolas Richard
2015-06-10 20:25 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).