Re: shebang (was Re: systemd - some more considerations)

2014-04-04 Thread Matthias Urlichs
Hi, Thorsten Glaser: > tglase@tglase:~ $ cat x > #?/usr/bin/python > import sys > print sys.version > tglase@tglase:~ $ ls -l x > -rwxr-xr-x 1 tglase tglase 47 Apr 4 12:54 x > tglase@tglase:~ $ ./x > import.im6: unable to grab mouse ': Resource temporarily unavailable @ > error/xwindow.c/XSelect

Re: shebang (was Re: systemd - some more considerations)

2014-04-04 Thread Andrey Rahmatullin
On Fri, Apr 04, 2014 at 02:04:32PM +0200, Salvo Tomaselli wrote: > > > Sure. I’ve patched mksh > > > > mksh doesn't count as a reference. > Did you even read before replying? He patched it to use #? Instead of #! that > was using. > He was sure about it being there because he had patched it to b

Re: shebang (was Re: systemd - some more considerations)

2014-04-04 Thread Salvo Tomaselli
In data venerdì 04 aprile 2014 17.38.12, Andrey Rahmatullin ha scritto: > > Sure. I’ve patched mksh > > mksh doesn't count as a reference. Did you even read before replying? He patched it to use #? Instead of #! that was using. He was sure about it being there because he had patched it to behave

Re: shebang (was Re: systemd - some more considerations)

2014-04-04 Thread Jakub Wilk
* Thorsten Glaser , 2014-04-04, 12:58: Try duckduckgoïng instead ☻ or searching POSIX, or something. SUSv4 “helpfully” says: If the first line of a file of shell commands starts with the characters "#!", the results are unspecified. -- Jakub Wilk -- To UNSUBSCRIBE, email to debian-devel-r

Re: shebang (was Re: systemd - some more considerations)

2014-04-04 Thread Ansgar Burchardt
Hi, Thorsten Glaser writes: > On Fri, 4 Apr 2014, Chow Loong Jin wrote: > >> Are you sure about this? > > Yes. > >> Some references would be helpful. I can't seem to find anything on this >> through > > Sure. I’ve patched mksh to use “#?” ipv “#!” as shebang, to > simulate a kernel not supportin

Re: shebang (was Re: systemd - some more considerations)

2014-04-04 Thread Andrey Rahmatullin
On Fri, Apr 04, 2014 at 12:58:23PM +0200, Thorsten Glaser wrote: > > Are you sure about this? > > Yes. > > > Some references would be helpful. I can't seem to find anything on this > > through > > Sure. I’ve patched mksh mksh doesn't count as a reference. > > some cursory googling. > Try duck

shebang (was Re: systemd - some more considerations)

2014-04-04 Thread Thorsten Glaser
On Fri, 4 Apr 2014, Chow Loong Jin wrote: > Are you sure about this? Yes. > Some references would be helpful. I can't seem to find anything on this > through Sure. I’ve patched mksh to use “#?” ipv “#!” as shebang, to simulate a kernel not supporting the shebang: Index: exec.c ===