sh not finding a file, even though the full path is given

Peter Garrett peter.garrett at optusnet.com.au
Mon Jun 30 14:30:29 UTC 2008


On Mon, 30 Jun 2008 16:08:50 +0200
"Axel Etzold" <AEtzold at gmx.de> wrote:

> Also, I executed the calling script as root and as sudo and as normal user. It is always the same behaviour ...
> one script (tree-tagger-english) calling a file lookup.perl works nicely, another, (tagger-chunker-english) calling
> filter-chunker-output.perl doesn't find the latter.

Have you tried running the scripts in "debug" mode?

For example, at the top (as the second line below the #!/bin/sh ) insert
a line like:

set -vex

( Verbose ( -v) , exit on error (-e) , xtrace "Write each command to
standard error" (-x)

Also, I assume that you are aware that "/bin/sh" is linked to
"/bin/dash" in Ubuntu now, not to /bin/bash .

-- 
Peter Garrett <peter.garrett at optusnet.com.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080701/40e13bde/attachment.sig>


More information about the ubuntu-users mailing list