On Wed, Aug 21, 2013 at 6:12 PM, Denys Vlasenko <vda.li...@googlemail.com> wrote: > On Tue, Aug 20, 2013 at 6:42 PM, Wei-cheng Wang <cole...@gmail.com> wrote: > You mean, this happens if foo.sh is a non-executable file Yes. foo.sh a shell script with execute permission without #! at the very first line. For example, $ echo "echo hello" > ./foo.sh $ chmod a+x ./foo.sh $ ./foo.sh hello > and /bin/sh is a symlink to busybox? Yes. busybox, toybox, toolbox (android) and similar tools use this way to provides multiple Unix tools with a single executable binary.
Wei-cheng _______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc