On Sat, Feb 5, 2011 at 6:57 AM, ali hagigat <hagigat...@gmail.com> wrote:
> #!/bin/sh
> echo ppppppp
> echo $SHELL
> exit 2200
>
> In the above script i tried to specify /bin/sh as my parser by a
> comment. Is that OK? When I type ./scr2 , i want bash recognize
> /bin/sh as the parser of ./scr2.
>
>
exit only works with values 0-255 so your "exit 2200"  will actually
be "exit 152" (2200 mod 256).

Reply via email to