On Wed, Sep 12, 2012 at 12:17 AM, Dan Shelton <dan.f.shel...@gmail.com> wrote: > Subject: Debian does not execute ksh93 compiled shell binaries > Package: ksh > Version: 93u+20120628-1 > > Debian does not execute ksh93 compiled shell binaries. > > On Solaris I can do this: > > echo "print hello_world" >plain.sh > shcomp plain.sh compiled_script.sh > ./compiled_script.sh > hello_world > > On Debian this does not work because the kernel does not support the > executable format used by ksh93's shcomp. > > It turns out there is a one-line solution for this (taken from > [http://www.mail-archive.com/ast-users@research.att.com/msg01730.html]): > Just execute this single line at system startup and shcomp compiled > executables work: > -- snip -- > echo ':shbinexec:M::\x0b\x13\x08:\xff\xff\xff:/usr/bin/ksh93:O' > > /proc/sys/fs/binfmt_misc/register > -- snip -- > > More information can be found at > http://www.mail-archive.com/ast-users@research.att.com/msg01730.html > I forwarded that email at the end of this mail:
I like the idea. Oliver, what do you think? Josh -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org