Hi,

Attached archive has small testing scripts to be extracted in /tmp.
There are 2 tests (exec1 and exec2) with 2 scripts each (4 scripts
total):

test#1, openbsd:
$ /tmp/exec1.sh
exec1.sh executed

test#1, linux:
# /tmp/exec1.sh
/tmp/exec1.pl executed
exec1.sh executed


test#2, openbsd:
$ /tmp/exec2.pl
/tmp/exec2.pl[3]: use: not found
/tmp/exec2.pl[4]: use: not found
/tmp/exec2.pl[6]: syntax error: `(' unexpected

test#2, linux:
# /tmp/exec2.pl
exec2.sh executed
exec2.sh executed
exec2.sh executed
^C


What I see is that OpenBSD doesn't support scripts in shebang line and
executes /bin/sh instead. Am I correct here?


PS. Please CC me in replies. Thanks.

-- 
best regards
q#

[demime 1.01d removed an attachment of type application/x-tar-gz]

Reply via email to